用赫夫曼树写 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a; cin >> a; if(a >= 70) { …… 题解列表 2021年06月20日 0 点赞 0 评论 499 浏览 评分:0.0
so easy!!!!!!成绩评定 解题思路:if比较难写,switch语句简洁点注意事项:break要加上否则就执行下一句了,输出用putchar;先前我用的是printf一直不对,换上putchar就可以了参考代码:#includeintmain(){intx;intgrade;scanf("%d", 题解列表 2021年07月07日 0 点赞 0 评论 534 浏览 评分:0.0
用条件运算符简单写出结果 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(){ int score; char grade; scanf("%d",&score); grade = score>…… 题解列表 2021年07月22日 0 点赞 0 评论 641 浏览 评分:0.0
成绩评定-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d", &a); if (a>=90) { pri…… 题解列表 2021年08月01日 0 点赞 0 评论 898 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:#include<stdio.h>int main(){ int a,i=0,j; int b[5]; scanf("%d",&a); while(a!=0) { …… 题解列表 2021年08月09日 0 点赞 0 评论 474 浏览 评分:0.0
1008: [编程入门]成绩评定 摘要:解题思路:选择结构注意事项:划分区间 注意 能否取等参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a>=90…… 题解列表 2021年09月07日 0 点赞 0 评论 544 浏览 评分:0.0
成绩评定的一种解答方法 摘要:解题思路:开头进行判断数据是否正确注意事项:参考代码:#include<stdio.h>int main(){ int x; scanf("%d",&x); if(x>100 || x<0) { p…… 题解列表 2021年09月30日 0 点赞 0 评论 549 浏览 评分:0.0
[编程入门]成绩评定------【c语言】||【Python】 摘要:Python ```python n=int(input()) if n>=90: print('A') elif n>=80: print('B') elif n>=7…… 题解列表 2021年11月06日 0 点赞 0 评论 574 浏览 评分:0.0
编辑入门 成绩评定 摘要:解题思路:用if语句注意事项:需要搞懂其中的逻辑参考代码:#include <stdio.h>void main(){ int a; scanf("%d",&a); if (a>=90) printf…… 题解列表 2021年11月07日 0 点赞 0 评论 475 浏览 评分:0.0
编辑入门 成绩评定】 摘要:参考代码:#include<stdio.h>void main(){ int a; scanf("%d",&a); if(a>=90) printf("A\n"); if(a>=8…… 题解列表 2021年11月07日 0 点赞 0 评论 482 浏览 评分:0.0