题解 1008: [编程入门]成绩评定

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

c++代码,非常原始

摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int n; scanf("%d",&n); if(n>=90) { printf("A……

[编程入门]成绩评定

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x; scanf("%d", &x); if (x >= 90) printf("A"); else……

switch处理和if~else if的简化处理

摘要:解题思路:本题属于条件判断类型的题目。首先可以想到的是if~else if ,我们既可以把条件设置为(<=xx&&>xx),再思考可以知道当我们设置了一个条件后,下面的条件就已经隐含了它的范围在上述条……

[编程入门]成绩评定python

摘要:解题思路:注意事项:参考代码:n = int(input())m = &#39;&#39;if n < 60:    m = &#39;E&#39;elif n < 70:    m = &#39;D……

Python字典映射

摘要:score = int(input())number = score//10switcher = {    10: &#39;A&#39;,    9: &#39;A&#39;,    8: &#39……

成绩评定

摘要:解题思路:#include<stdio.h>int main(){ int score; scanf("%d",&score); if(score>=90) { printf("A\n"); } e……

成绩判定基础解

摘要:解题思路:分支结构应用注意事项:格式语法参考代码:……

简简单单又是一道c语言

摘要:解题思路:依次比大小注意事项:无参考代码:#include<stdio.h>int main(){    int a;    scanf("%d",&a);    if(a>100 || a<0){ ……