#include<stdio.h>
#include<stdlib.h>

struct SCORE
{
  int n;
  int num;
  char na[10];
  int eng;
  int math;
  int total;
  float ave;
}p1;

void main()
{
 struct SCORE p1={0,0,\"김\",0,0,0,0};
 struct SCORE kty[7];

 
  printf(\"학번\");
  scanf(\"%s\", &p1.n);
  printf(\"과목수\");
  scanf(\"%d\",  &p1.num);
  printf(\"이름\");
  scanf(\"%s\", kty[3].na);
  printf(\"영어\");
  scanf(\"%d\", p1.eng);
  printf(\"수학\");
  scanf(\"%d\", p1.math);
 

 

 
 
     p1.total = (p1.eng + p1.math);
 p1.ave = (float)p1.total / p1.num;
 

 printf(\"학번 : %d\", &p1.n);
 printf(\"과목수:%d\", &p1.num);
 printf(\"이름 : %s\", kty[3].na);
 printf(\"합계 : %d\",&p1.total);
 printf(\"평균 : %f\",&p1.ave);
 
 

}

굳이 kty[i]안넣고 그냥 p1넣어도 되지않아요?
아 그럼 kty [7]선언할필요도없나;