热门

最新

红包

立Flag

投票

同城

我的

发布
qq_51592187
vhujbvf
5 年前
trueqq_51592187

成绩转换
#include<stdio.h>
int main()
{
int score;
while((scanf("%d",&score))!=EOF)
{
if(90<=score&&score<=100)
{
printf("A\n");
}
else if(80<=score&&score<=89)
{
printf("B\n");
}
else if(70<=score&&score<=79)
{
printf("C\n");
}
else if(60<=score&&score<=69)
{
printf("D\n");
}
else if(0<=score&&score<=59)
{
printf("E\n");
}
else if(score<0||score>100)
{
printf("Score is error!\n");
}
}
return 0;
}

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
All Processes 抓取显示所有通过 Fiddler代理 发出的请求Web Browsers  仅抓取PC 中浏览器发出的代理请求(Capturing 一定要点中才行)Non-Browser   抓取除浏览器外的代理请求Hide All      隐藏所有代理请求请在 软件测试部落 搜索框中输入 fiddler 获取详细的Fiddler用法
立即登录