标签:scan scanf 没有 print std can else main pass
#include <stdio.h>
int main(int argc, char **argv)
{
const int pass=60;
int score;
printf("请输入成绩:");
scanf("%d",&score);
printf("你的成绩是%d\n",score);
if(score>=pass){
printf("恭喜你及格了");
}else{
printf("没有及格请再接再厉");
}
return 0;
}
标签:scan scanf 没有 print std can else main pass
原文地址:https://www.cnblogs.com/ligouhai/p/9865358.html