2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; float score; a=b=c=0; while(scanf…… 题解列表 2017年08月27日 0 点赞 0 评论 1277 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int n);int main(){ double sum=0; int i,n; scanf…… 题解列表 2017年08月27日 0 点赞 0 评论 894 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b;//定义两个变量a,b while(~scanf("%d%d", &a, &b))p…… 题解列表 2017年08月27日 2 点赞 0 评论 1074 浏览 评分:0.0
C语言考试练习题_一元二次方程 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,d,x1,x2,t; scanf("%f%f…… 题解列表 2017年08月27日 0 点赞 0 评论 1129 浏览 评分:0.0
奖学金 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>int main(){ int n; scanf("%d",&n); int i[305],j[305],k[305]…… 题解列表 2017年08月28日 10 点赞 0 评论 2487 浏览 评分:0.0
C语言训练-列出最简真分数序列* (C语言代码) 摘要:解题思路:分子与分母的最大公约数为1注意事项:参考代码:#include<stdio.h>int gcd(int a,int b);int main(){ int i; for(i=1;i…… 题解列表 2017年08月28日 0 点赞 0 评论 778 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[55]={0}; gets(str); …… 题解列表 2017年08月28日 0 点赞 0 评论 946 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:a+b注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF) printf("%d\n…… 题解列表 2017年08月28日 0 点赞 0 评论 944 浏览 评分:0.0
时间转换 (Java代码) 摘要:解题思路:注意事项:用date类写不行吗?说我是运行错误的。代码仅供参考。参考代码:package s10;import java.text.SimpleDateFormat;import java.…… 题解列表 2017年08月28日 1 点赞 0 评论 1008 浏览 评分:0.0