2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a[10],ave,sum=0; int i,count=0; for(i=…… 题解列表 2018年08月24日 0 点赞 0 评论 831 浏览 评分:0.0
C二级辅导-统计字符 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100]; int i=0,count1=0,count2=0,count3=0,…… 题解列表 2018年08月24日 0 点赞 0 评论 1328 浏览 评分:0.0
C语言训练-斐波纳契数列 (C语言代码) 摘要:解题思路:斐波那契数的递归定义:F(0)=0,F(1)=1,F(n)=F(n-1)+F(n-2);(n>=2)。因此可以运用数组加循环解答。注意事项:输出时从a[1]开始输出,到a[n]为止。参考代码…… 题解列表 2018年08月24日 5 点赞 0 评论 806 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:注意事项:一定要使用double类型数据,int类型范围比较小参考代码:#include<stdio.h>double jiecheng(int x)//阶乘求法{ int i; …… 题解列表 2018年08月24日 0 点赞 0 评论 826 浏览 评分:0.0
关于圆的面积 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<math.h> #define PI 3.1415926 int main() { int t; d…… 题解列表 2018年08月25日 0 点赞 0 评论 685 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int a[10]; int i; int t,mi…… 题解列表 2018年08月25日 0 点赞 0 评论 618 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double fact(int n){ int i; double sum=1; …… 题解列表 2018年08月25日 0 点赞 0 评论 1065 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float x,y; scanf("%f",&x); i…… 题解列表 2018年08月25日 0 点赞 0 评论 1036 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int ctof(int c){ int f; f=32+c*9/5; return f;}int main()…… 题解列表 2018年08月25日 0 点赞 0 评论 689 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,a[10][10]; int i,j,maxi,ma…… 题解列表 2018年08月25日 0 点赞 0 评论 846 浏览 评分:0.0