计算(a+b)/c的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); prin…… 题解列表 2022年12月25日 0 点赞 0 评论 1197 浏览 评分:9.9
判断数正负 摘要:解题思路:注意事项:注意不要超时。参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if(n>0) { …… 题解列表 2022年12月25日 0 点赞 0 评论 385 浏览 评分:0.0
整数的和(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if(n>0) { prin…… 题解列表 2022年12月25日 0 点赞 0 评论 329 浏览 评分:0.0
适合晨练(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int t; scanf("%d",&t); if(t>=25 && t<=30) { …… 题解列表 2022年12月25日 0 点赞 0 评论 539 浏览 评分:9.9
【编程入门】用函数实现冒泡排序(c语言代码) 摘要:解题思路:数组元素两两之间进行比较,较大的往后走,称为冒泡。 第一次循环完成后最大的数会走到数组最后面,第二大的数会走到倒数第二位,以此类推。 …… 题解列表 2022年12月25日 0 点赞 0 评论 333 浏览 评分:9.9
求平均年龄 摘要:解题思路:注意事项:注意乘上1.0参考代码:#include<stdio.h>int main(){ int i,n,a[100],s=0; scanf("%d",&n); for(…… 题解列表 2022年12月25日 0 点赞 0 评论 358 浏览 评分:0.0
数学的图表之运用某种数学规律 摘要:可以看第一位freedomgod解答中的图解 规律一:这些红色数字的规律 试着求1,2,3...前i项的和,你就会发现,前1项的和为1,前2项的和为3,前3项的和为6... 规律二:斜行数字与红…… 题解列表 2022年12月25日 0 点赞 0 评论 437 浏览 评分:0.0
买图书(c语言) 摘要:解题思路:注意事项:不加m=1,结果是对的,过不了参考代码:#include<stdio.h>int main(){ double n,m; scanf("%lf%lf",&n,&m); …… 题解列表 2022年12月25日 0 点赞 0 评论 511 浏览 评分:0.0
1766: 循环入门练习3 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int sum = 0; int n; scanf("%d",&n); for …… 题解列表 2022年12月25日 0 点赞 0 评论 296 浏览 评分:0.0
1768: 循环入门练习5 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int sum = 0; int n; scanf("%d", &n); for…… 题解列表 2022年12月25日 1 点赞 2 评论 433 浏览 评分:8.0