题解 | #挂科危险#
挂科危险
http://www.nowcoder.com/practice/0b62b8dca766459ca3935a499a737d9f
#include <stdio.h>
int main()
{
int score;
while(scanf("%d",&score)!=EOF)
{
if(score>=10)
printf("Danger++");
if(score>=4&&score<=9)
printf("Danger");
if(score>=0&&score<=3)
printf("Good");
}
return 0;
}