C语言程序设计教程(第三版)课后习题10.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[100],j,k=0;//定义人员数量 int quit=0;//退出人数 s…… 题解列表 2017年12月18日 0 点赞 0 评论 887 浏览 评分:0.0
我美吗! 摘要:解题思路: 详见代码,不懂可以留言偶注意事项:每次循环完成后都要清空数组。参考代码://大数求和,所以必须用字符串解决计算 #include <stdio.h> #include <string…… 题解列表 2017年12月18日 3 点赞 1 评论 711 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>double fact(n){ int i; do…… 题解列表 2017年12月18日 0 点赞 0 评论 1005 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ int i,max,a[10],…… 题解列表 2017年12月18日 0 点赞 0 评论 1245 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ double x,y; s…… 题解列表 2017年12月18日 0 点赞 0 评论 1033 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int i,j,n,a[80][80],maxi,maxj,max…… 题解列表 2017年12月18日 0 点赞 0 评论 1053 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>double fact(int k);double fact(k){ double sum…… 题解列表 2017年12月18日 0 点赞 0 评论 973 浏览 评分:0.0
优质题解 Manchester- 求矩阵的两对角线上的元素之和(不需要数组法) 摘要:解题思路:1.设元素下标为i,j ,矩阵阶数为Length,和为sum;2.主对角线元素下标满足:i==j;3.副对角线元素下标满足:i+j-1==Length;4.输入一个元素Mxtrix,判断下标…… 题解列表 2017年12月18日 23 点赞 24 评论 7293 浏览 评分:9.5
花落的新手代码 (C语言代码) 摘要:解题思路:注意事项:注意多行输入,并且注意每次遇到.都要判断前导0参考代码:#include<stdio.h>int main(){ char sz[100][30]; int n=0,t=0,i,j…… 题解列表 2017年12月18日 0 点赞 0 评论 1239 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int is_prime(int x){ int i; if(x<=1) return 0; for(…… 题解列表 2017年12月18日 0 点赞 0 评论 1210 浏览 评分:0.0