>>16
次は配列とかfor文とかを使ってみよう

int num[10];

for (int i = 0; i < 10; i++) {
printf("科目%dの点数を入力してください。 \n", i + 1);
scanf("%d", &num[i]);
}