2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:思路:进行无限循环,用break退出循环答案:#include<stdio.h> int main(){ int i,a=0,b=0,c=0; while(scanf("%d",&i)){ …… 题解列表 2017年06月19日 15 点赞 2 评论 1852 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:#include<stdio.h>#include<string.h>struct INFO{ int year; int mon; int day; int num;};int main() { s…… 题解列表 2017年06月19日 0 点赞 0 评论 896 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:#include<stdio.h>#include<string.h>void get(char a[],int n,int m){ char b[100]; int i,j=0; for(i=…… 题解列表 2017年06月18日 0 点赞 0 评论 797 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:#include<stdio.h>int main(){ int x; scanf("%d",&x); printf("%o",x); return 0;}…… 题解列表 2017年06月18日 0 点赞 0 评论 1111 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.5 (C语言代码) 摘要:#include "stdio.h"main(){int n,i=0,j=1,k;scanf("%d",&n);int a[n];for(k=0;k<n;k++){a[k]=k+1;}while(n>…… 题解列表 2017年06月18日 0 点赞 1 评论 626 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:思路:c的范围从-100到150,所以循环从-100开始到150,每五个数输出一次,则c与5取余等于0则输出一次答案:#include<stdio.h> double ctof(int c); d…… 题解列表 2017年06月18日 4 点赞 0 评论 1552 浏览 评分:6.0
汽水瓶 (C语言代码)看不懂的点我 摘要:题目分析分析什么鬼??列个表观察一下数就能得出结论 所以我认为我的比其他的题解都简单代码int main() { int a[10]; int i=0,j=0; whi…… 题解列表 2017年06月18日 11 点赞 9 评论 1009 浏览 评分:9.0
C语言训练-字符串正反连接 (C语言代码) 摘要:#include<stdio.h>#include<string.h>int main(){ char s[50],s1[100],t;//定义两个数组。 int i=0,len; gets(s);/…… 题解列表 2017年06月18日 6 点赞 7 评论 2393 浏览 评分:9.0
C语言训练-大、小写问题 (C语言代码) 摘要:#include<stdio.h>#include<string.h>//处理字符串的头文件int main(){ char s[100]; int i,len; gets(s);//输入一个字符串以…… 题解列表 2017年06月18日 4 点赞 0 评论 2341 浏览 评分:9.0
Tom数 (C语言代码) 摘要:#include<stdio.h>int main(){ unsigned int m,j,sum=0;//既然是小于2的32次方的整数,那么就适合用无符号整型数 while(scanf("%u",&…… 题解列表 2017年06月18日 1 点赞 0 评论 1177 浏览 评分:0.0