判断成绩优秀良好的c语言代码

来源:互联网 发布:做幻灯片的软件 编辑:程序博客网 时间:2024/05/01 17:30

*******

#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or add your own getch, system("pause") or input loop *//*赵宏 2016.6.29日 杭州*/ int main(int argc, char *argv[]) {int score=67;if(score<100 && score>80)printf("你的成绩为优秀!\n");{if(score<=80 && score>60)printf("你的成绩为良好!\n");}{if(score<60)printf("你的成绩为不及格!\n");}return 0;}


0 0
原创粉丝点击