diff --git a/student.c b/student.c index d4f4545..830d509 100644 --- a/student.c +++ b/student.c @@ -53,8 +53,9 @@ int main() break; } } + printf("你的分数为:%d ",sum); if(sum>=90&&sum<=100) - printf("SMART"); + printf("SMART"); else if(sum>=80) printf("GOOD"); else if(sum>=70) @@ -65,7 +66,6 @@ int main() printf("TRY AGAIN"); else printf("系统错误"); -// printf("%d",sum); return 0; } @@ -89,4 +89,4 @@ void sub(int j,int x,int y) result=x-y; printf("%d:%d-%d=",j,x,y); jifen(result); -} \ No newline at end of file +} diff --git a/student.exe b/student.exe new file mode 100644 index 0000000..95d1f39 Binary files /dev/null and b/student.exe differ