编写题解 2783: 判断是否为两位数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a; scanf("%d",&a); if(a>=10&&a<100) pri…… 题解列表 2024年12月05日 0 点赞 0 评论 375 浏览 评分:0.0
编写题解 2781: 奇偶ASCII值判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char ch; ch=getchar(); if(ch%2==0) printf("…… 题解列表 2024年12月05日 0 点赞 0 评论 461 浏览 评分:0.0
编写题解 2777: 计算2的幂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,n,sum=1; scanf("%d",&n); for(i=1;i<=n;i+…… 题解列表 2024年12月05日 0 点赞 0 评论 204 浏览 评分:0.0
编写题解 2775: 等差数列末项计算 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a1,a2,n,d; scanf("%d %d %d",&a1,&a2,&n); d…… 题解列表 2024年12月05日 0 点赞 0 评论 169 浏览 评分:9.9
编写题解 1008: [编程入门]成绩评定 摘要:解题思路:题目要求根据输入的整数成绩(0-100),输出对应的成绩等级。成绩等级分为 ‘A’、‘B’、‘C’、‘D’ 和 ‘E’,具体分级标准如下:90分及以上为 ‘A’80-89分为 ‘B’70-7…… 题解列表 2024年12月05日 6 点赞 1 评论 1751 浏览 评分:10.0
编写题解 2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x1,x2,x3,y1,y2,y3; double a,b…… 题解列表 2024年12月05日 1 点赞 0 评论 312 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译 摘要:解题思路:译码规律是:用原来字母后面的第4个字母代替原来的字母. 注意事项:参考代码:#include <stdio.h>int main() { // 初始化变量 char c1 =…… 题解列表 2024年12月05日 15 点赞 0 评论 3214 浏览 评分:10.0
编写题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ double Xa,Xb,xa,xb; double s; …… 题解列表 2024年12月05日 1 点赞 0 评论 364 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值 摘要:解题思路: 假设a是最大值,然后用a与b,c 比较,哪个大就让max等于哪个注意事项:参考代码:#include <stdio.h>int main() { int a, b, c; i…… 题解列表 2024年12月05日 8 点赞 0 评论 731 浏览 评分:9.9
编写题解 1007: [编程入门]分段函数求值 摘要:解题思路: 只需要判断x所处的范围就行了注意事项:参考代码:#include<stdio.h>int main(){ //判断x int x; int y; //只需要判断x所在的范围 scanf…… 题解列表 2024年12月05日 1 点赞 0 评论 1593 浏览 评分:6.0