解题思路:
注意事项:当且仅当两门中只有一门不及格时输出为1
参考代码:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdio.h>
int main()
{
int m,n;
scanf("%d%d",&m,&n);
if(m<60&&n>=60||m>=60&&n<60)
printf("1");
else printf("0");
return 0;
}
0.0分
2 人评分
校门外的树 (C语言代码)浏览:715 |
矩形面积交 (C语言代码)浏览:1513 |
数组输出 (C语言代码)浏览:767 |
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码)浏览:458 |
C语言程序设计教程(第三版)课后习题6.3 (C语言代码)浏览:510 |
【出圈】 (C语言代码)浏览:553 |
拆分位数 (C语言代码)浏览:1327 |
C语言程序设计教程(第三版)课后习题5.6 (C语言代码)浏览:851 |
C语言程序设计教程(第三版)课后习题9.3 (C语言代码)浏览:668 |
核桃的数量 (C语言代码)浏览:870 |