#include<stdio.h>

int main()
{
 char name[80]="홍길동";
 int a=90, b=75, c=80;
 int x;
 double y;

 x=a+b+c;
 y=x/3.0;

 printf("----------l--------l--------l--------l--------l----------l\n");
 printf("   이름   l  국어  l  영어  l  수학  l  총점  l   평균   l\n");
 printf("----------l--------l--------l--------l--------l----------l\n");
 printf("%-10slllll.2lfl\n", name, a, b, c, x, y);
 printf("----------l--------l--------l--------l--------l----------l\n");
 
 return 0;
}

 

 

 

아무리 찾아봐도 모르겠다 ㅆㅂ 답하고 똑같이 한거같은데