Tom数 (C语言代码) 摘要:#include<stdio.h>int main(){ unsigned int m,j,sum=0;//既然是小于2的32次方的整数,那么就适合用无符号整型数 while(scanf("%u",&…… 题解列表 2017年06月18日 1 点赞 0 评论 1215 浏览 评分:0.0
不同单词个数统计 (C语言代码) 摘要: 对于我来说太难了。。看来C语言对新人不是太友好 脑子有想法 但是写不出来有没有 有没有题目分析 一个空格一个一个单词 本题考查运用二位数组来存贮单词代码#include<stdio.h> …… 题解列表 2017年06月18日 9 点赞 2 评论 2272 浏览 评分: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 评论 1729 浏览 评分: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 评论 1220 浏览 评分: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 评论 1839 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:题目分析 阶乘 分两步 一个乘一个累加代码#include<stdio.h> int main() { int i; double j=1,sum=0;//注意了 这么大累…… 题解列表 2017年06月17日 0 点赞 0 评论 1171 浏览 评分: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 评论 1435 浏览 评分: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 评论 948 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.2 (C语言代码) 摘要:#include "stdio.h"main(){ int i,j,a[10],k,min,t; for(i=0;i<10;i++) { scanf("%d",&a[i]); } for(i=0;…… 题解列表 2017年06月17日 1 点赞 0 评论 848 浏览 评分:6.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:思路:代公式答案:#include<stdio.h> double fact(int n); double mypow(double x,int n); double fact(int n){ …… 题解列表 2017年06月17日 0 点赞 0 评论 910 浏览 评分:8.0