close
#include <stdio.h>
#include <stdlib.h>
int main()
{
int ch,math,eng,total;
printf("國文成績=");
scanf("%d",&ch);
printf("\n數學成績=");
scanf("%d",&math);
printf("\n英文成績=");
scanf("%d",&eng);
total=ch+math+eng;
printf("總分=%d",total);
system("PAUSE");
return 0;
}
全站熱搜