1008: [编程入门]成绩评定 摘要:解题思路:一看就知道是用if语句,一道比较简单的题。注意事项:参考代码:x = int(input())if x<60: print("E")elif x>=60 and x<70: prin…… 题解列表 2023年01月04日 1 点赞 0 评论 442 浏览 评分:0.0
switch语句解决成绩评定 摘要:解题思路: 题目首先提出输入不同的分数输出对应的等级,那么一定会用到选择语句(if/else if也可),那么我们就要分析switch中的语法特性,switch后跟常量,在case中找到与swi…… 题解列表 2023年01月24日 0 点赞 0 评论 236 浏览 评分:0.0
成绩评定-switch用法 摘要:解题思路:主要是switch用法,仔细看看这道题!!!注意事项:参考代码:#include<stdio.h>int main(){ int score; char grade; scanf("%d",…… 题解列表 2023年03月07日 0 点赞 0 评论 163 浏览 评分:0.0
成绩评定+switch语句 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int score; scanf("%d",&score); switch(score/10){ …… 题解列表 2023年03月11日 0 点赞 0 评论 155 浏览 评分:0.0
入门编程题成绩评定 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int X; scanf("%d",&X); if(X <=100) { if…… 题解列表 2023年04月06日 0 点赞 0 评论 147 浏览 评分:0.0
1008题: 成绩评定 摘要:# 自己写的代码 ```c #include int main() { int n; while(~scanf("%d",&n)){ if(n>=90){ …… 题解列表 2023年04月25日 0 点赞 0 评论 170 浏览 评分:0.0
[编程入门]成绩评定 摘要:一、解题思路:switch语句C参考代码:#include <stdio.h> int main() { int s; scanf("%d", &s); switch (s / 10…… 题解列表 2023年05月02日 0 点赞 0 评论 91 浏览 评分:0.0
1008c语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a; scanf("%d",&a); if(a>=90) printf("A\n"); else if…… 题解列表 2023年11月05日 0 点赞 0 评论 145 浏览 评分:0.0
经典if-else语句实现 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ const char rank[5] = {'A'…… 题解列表 2023年12月21日 0 点赞 0 评论 133 浏览 评分:0.0
编程入门:成绩测定 摘要:解题思路:注意事项:不要忘记“100”这个分数参考代码:#include<stdio.h>int main(){ int grade; scanf("%d",&grade); …… 题解列表 2024年01月10日 0 点赞 0 评论 189 浏览 评分:0.0