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 评论 2431 浏览 评分: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 评论 2349 浏览 评分: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 评论 1202 浏览 评分:0.0
不同单词个数统计 (C语言代码) 摘要: 对于我来说太难了。。看来C语言对新人不是太友好 脑子有想法 但是写不出来有没有 有没有题目分析 一个空格一个一个单词 本题考查运用二位数组来存贮单词代码#include<stdio.h> …… 题解列表 2017年06月18日 9 点赞 2 评论 2267 浏览 评分:9.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:#include "stdio.h"#include "string.h"int a(char str1[],char str2[]){ int i; for(i=0;i<3;i++) { if(s…… 题解列表 2017年06月18日 0 点赞 0 评论 1717 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:#include<stdio.h> int main(){ int h,f,d,a,u,e,w,i,q,n,m; float l,g,y,s,o; scanf("%d %d",&m,&n); if(…… 题解列表 2017年06月18日 3 点赞 0 评论 1214 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:#include <stdio.h>int main(){ int i; long n,s=1,c=0;//定义long变量,题目N在20以内不需要long long scanf("%d",&n); …… 题解列表 2017年06月17日 0 点赞 0 评论 1830 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:题目分析 阶乘 分两步 一个乘一个累加代码#include<stdio.h> int main() { int i; double j=1,sum=0;//注意了 这么大累…… 题解列表 2017年06月17日 0 点赞 0 评论 1162 浏览 评分:0.0
母牛的故事 (C语言代码) 摘要:#include<stdio.h>int main(){ int old = 1, new1 = 0, new2 = 0, new3 = 0, year, total; printf("please …… 题解列表 2017年06月17日 9 点赞 2 评论 1425 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:#include "stdio.h"int dc(int a,int b){ int r; while(1) { r=a%b; if(r==0)return b; a=b; b=r; }}in…… 题解列表 2017年06月17日 0 点赞 0 评论 943 浏览 评分:0.0