海绵宝宝来学C~题解 1008: [编程入门]成绩评定 #####解题思路:看题目就是循环判断了,那我们可以用基本几个if-else,switch,等等的循环判断函数去答题######if-else代码解法:```c#includeintmain(){intgrade;//定义一个整数grade做输入的整数(0-100的分数)scanf("%d", 题解列表 2023年12月28日 1 点赞 0 评论 677 浏览 评分:9.9
经典if-else语句实现 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ const char rank[5] = {'A'…… 题解列表 2023年12月21日 0 点赞 0 评论 484 浏览 评分: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 评论 547 浏览 评分:0.0
利用Switch解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int grade;scanf("%d",&grade);grade/=10;switch(grade){case…… 题解列表 2023年10月13日 0 点赞 0 评论 710 浏览 评分:9.9
if解题,正常解法 摘要:解题思路:正常思路注意事项:参考代码:#include <stdio.h>int main (){int a;scanf ("%d",&a);if (100>=a&&a>=90) { …… 题解列表 2023年06月19日 0 点赞 2 评论 465 浏览 评分:6.0
[编程入门]成绩评定 摘要:一、解题思路:switch语句C参考代码:#include <stdio.h> int main() { int s; scanf("%d", &s); switch (s / 10…… 题解列表 2023年05月02日 0 点赞 0 评论 403 浏览 评分:0.0
1008题: 成绩评定 摘要:# 自己写的代码 ```c #include int main() { int n; while(~scanf("%d",&n)){ if(n>=90){ …… 题解列表 2023年04月25日 0 点赞 0 评论 567 浏览 评分:0.0
入门编程题成绩评定 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int X; scanf("%d",&X); if(X <=100) { if…… 题解列表 2023年04月06日 0 点赞 0 评论 540 浏览 评分:0.0
成绩评定+switch语句 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int score; scanf("%d",&score); switch(score/10){ …… 题解列表 2023年03月11日 0 点赞 0 评论 615 浏览 评分:0.0
成绩评定-switch用法 摘要:解题思路:主要是switch用法,仔细看看这道题!!!注意事项:参考代码:#include<stdio.h>int main(){ int score; char grade; scanf("%d",…… 题解列表 2023年03月07日 0 点赞 0 评论 609 浏览 评分:0.0