题解 | #及格分数#
及格分数
http://www.nowcoder.com/practice/56513524333148b38945e1989bc7df4e
#include <stdio.h>
int main()
{
int score = 0;
while (~scanf(" %d", &score))
{
if (score >= 60)
{
printf("Pass\n");
}
else
{
printf("Fail\n");
}
}
return 0;
}编程初学者入门训练 文章被收录于专栏
针对编程初学者入门训练130题的代码详解专栏,内附注释方便理解,牛客130题的代码均用C语言实现,方便初学者学习。
查看21道真题和解析