[编程入门]成绩评定 题解 摘要:解题思路:直接用if语句编写就可以。注意if的括号后不要加;。输入X的前面要加上&。参考代码:#include <stdio.h>int main(){ int x; scanf("%d", &x);…… 题解列表 2022年11月26日 0 点赞 0 评论 117 浏览 评分:0.0
编写题解 1008: [编程入门]成绩评定 摘要:import java.util.Scanner;public class Main { public static void main(String[] args) throws Excep…… 题解列表 2022年12月23日 0 点赞 0 评论 257 浏览 评分:0.0
1008: [编程入门]成绩评定 摘要:解题思路:一看就知道是用if语句,一道比较简单的题。注意事项:参考代码:x = int(input())if x<60: print("E")elif x>=60 and x<70: prin…… 题解列表 2023年01月04日 1 点赞 0 评论 441 浏览 评分: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 评论 162 浏览 评分:0.0
成绩评定+switch语句 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int score; scanf("%d",&score); switch(score/10){ …… 题解列表 2023年03月11日 0 点赞 0 评论 154 浏览 评分:0.0
入门编程题成绩评定 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int X; scanf("%d",&X); if(X <=100) { if…… 题解列表 2023年04月06日 0 点赞 0 评论 146 浏览 评分:0.0
1008题: 成绩评定 摘要:# 自己写的代码 ```c #include int main() { int n; while(~scanf("%d",&n)){ if(n>=90){ …… 题解列表 2023年04月25日 0 点赞 0 评论 169 浏览 评分:0.0
[编程入门]成绩评定 摘要:一、解题思路:switch语句C参考代码:#include <stdio.h> int main() { int s; scanf("%d", &s); switch (s / 10…… 题解列表 2023年05月02日 0 点赞 0 评论 90 浏览 评分: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