题解 1008: [编程入门]成绩评定 摘要:代码 ```cpp #include using namespace std; int main() { int n; scanf("%d",&n); if(n>=90) { p…… 题解列表 2023年05月19日 0 点赞 0 评论 485 浏览 评分:9.9
利用Switch解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int grade;scanf("%d",&grade);grade/=10;switch(grade){case…… 题解列表 2023年10月13日 0 点赞 0 评论 265 浏览 评分:9.9
海绵宝宝来学C~题解 1008: [编程入门]成绩评定 摘要:#####解题思路: 看题目就是循环判断了, 那我们可以用基本几个 if-else,switch,等等的循环判断函数去答题 ######if-else代码解法: ```c #includ…… 题解列表 2023年12月28日 0 点赞 0 评论 165 浏览 评分:9.9
循环与数组合理搭配,写起来好看的撒 摘要:参考代码:#include<iostream> using namespace std; int main() { int x; cin >> x; char score[5] …… 题解列表 2024年01月01日 1 点赞 0 评论 474 浏览 评分:9.9
利用选择函数求解成绩评定 摘要:解题思路:可分情况讨论输入的成绩落在哪个区间,并输出对应区间的字符注意事项:输出的字符需要自己写出来,此种方法局限性较大,只针对本题可求解参考代码:#include<iostream>using na…… 题解列表 2024年01月17日 0 点赞 0 评论 409 浏览 评分:9.9
编写题解 1008: [编程入门]成绩评定 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std; int main(){ int x; cin >> x; char sco…… 题解列表 2024年12月01日 6 点赞 0 评论 879 浏览 评分:9.9
1008: [编程入门]成绩评定题解 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std; int main(){ int x; cin >> x; char sco…… 题解列表 2024年12月01日 6 点赞 0 评论 1042 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题5.6 (C++代码) 摘要:题目描述:给出一百分制成绩,要求输出成绩等级 ‘A’、‘B’、‘C’、‘D’、‘E’。 90 分以及 90 分以上为 A,80-89 分为 B,70-79 分为 C,60-69 分为 D,60 分以下…… 题解列表 2018年07月13日 6 点赞 0 评论 2198 浏览 评分:9.6
[编程入门]成绩评定-题解(C语言代码) 摘要:解题思路:用switch语句注意事项:输入的是整数,输出的是大写字母,不要有多余的文字解说,另外switch()括号里是整数,case后面是:加上整数参考代码:#include <stdio.h>in…… 题解列表 2021年01月30日 0 点赞 0 评论 568 浏览 评分:9.5
[编程入门]成绩评定c++ 摘要:解题思路:按题目来判定条件注意事项:<=,>=,<,>不要用错参考代码:#include<iostream>#include<fstream>#include<algorithm>//文件头using…… 题解列表 2022年05月09日 0 点赞 1 评论 390 浏览 评分:9.5