用二维数组做存储结构,内含二维数组函数传参 摘要:解题思路:注意事项:if(n>=1&&n<=6)//题目要求n的取值范围参考代码:#include<stdio.h> #define N 6 void input_function(int n,i…… 题解列表 2022年12月25日 0 点赞 0 评论 225 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10]; scanf("%s",a); …… 题解列表 2022年12月25日 0 点赞 0 评论 269 浏览 评分:0.0
C++ 利用二维数组+二维数组传参 摘要:解题思路:注意事项:在C中,下面代码中的函数find_max(int n,int a[][n])是允许的,但是C++中不行! 具体是为什么?我也不知道,但我很想知道,有哪…… 题解列表 2022年12月25日 0 点赞 0 评论 336 浏览 评分:0.0
判断数正负 摘要:解题思路:注意事项:注意不要超时。参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if(n>0) { …… 题解列表 2022年12月25日 0 点赞 0 评论 360 浏览 评分:0.0
整数的和(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if(n>0) { prin…… 题解列表 2022年12月25日 0 点赞 0 评论 319 浏览 评分:0.0
求平均年龄 摘要:解题思路:注意事项:注意乘上1.0参考代码:#include<stdio.h>int main(){ int i,n,a[100],s=0; scanf("%d",&n); for(…… 题解列表 2022年12月25日 0 点赞 0 评论 340 浏览 评分:0.0
数学的图表之运用某种数学规律 摘要:可以看第一位freedomgod解答中的图解 规律一:这些红色数字的规律 试着求1,2,3...前i项的和,你就会发现,前1项的和为1,前2项的和为3,前3项的和为6... 规律二:斜行数字与红…… 题解列表 2022年12月25日 0 点赞 0 评论 411 浏览 评分:0.0
买图书(c语言) 摘要:解题思路:注意事项:不加m=1,结果是对的,过不了参考代码:#include<stdio.h>int main(){ double n,m; scanf("%lf%lf",&n,&m); …… 题解列表 2022年12月25日 0 点赞 0 评论 490 浏览 评分:0.0
1766: 循环入门练习3 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int sum = 0; int n; scanf("%d",&n); for …… 题解列表 2022年12月25日 0 点赞 0 评论 285 浏览 评分:0.0
1769: 循环入门练习6 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int s = 0; int n; int j = 0; scanf("%d",…… 题解列表 2022年12月25日 0 点赞 0 评论 214 浏览 评分:0.0