?? exp04_05.c
字號(hào):
#include <stdio.h>
main()
{
int score=0,num=0;
float total=0;
printf("input the score:");
scanf("%d",&score);
while(score<=100)
{
num++;
total+=score;
printf("input the score:");
scanf("%d",&score);
}
printf("the average score is %5.1f",total/num);
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -