汪柏轶


私信TA

用户名:wby0124

访问量:1701

签 名:

用时间取得的东西,时间会为其作证。

等  级
排  名 12663
经  验 920
参赛次数 0
文章发表 6
年  龄 13
在职情况 学生
学  校
专  业

  自我简介:

TA的其他文章

解题思路:

注意事项:

参考代码:

#include

using namespace std;

int main()

{

int n;

scanf("%d",&n);

if(n>=90)

{

printf("A");

return 0;

}

if(n>=80&&n<=89)

{

printf("B");

return 0;

}

if(n>=70&&n<=79)

{

printf("C");

return 0;

}

if(n>=60&&n<=69)

{

printf("D");

return 0;

}

else

{

printf("E");

return 0;

}

return 0;

}


 

0.0分

2 人评分

  评论区