printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%#o %d %#x\n",n,…… 题解列表 2019年05月06日 0 点赞 0 评论 1088 浏览 评分:0.0
求总时间 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,N; float time=0,s=30; scanf("%d",&N); for(i=1;i…… 题解列表 2019年05月06日 0 点赞 0 评论 910 浏览 评分:0.0
考试评级 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s; scanf("%d",&s); if(s<0 || s>100) return 0; if…… 题解列表 2019年05月06日 0 点赞 0 评论 1380 浏览 评分:0.0
求阶梯水费 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x<=15) y=2*x; else y=30+(x-1…… 题解列表 2019年05月06日 0 点赞 0 评论 1926 浏览 评分:0.0
求平均工资 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,i,s[100],sum=0; scanf("%d",&a); for(i=0;i<a;i++) {…… 题解列表 2019年05月06日 0 点赞 0 评论 2105 浏览 评分:5.7
[编程入门]自定义函数之字符提取 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; int i; gets(a); …… 题解列表 2019年05月06日 0 点赞 0 评论 957 浏览 评分:0.0
[编程入门]电报加密 (C语言代码) 摘要:题目描述输入一行电报文字,将字母变成其下一字母(如’a’变成’b’……’z’变成’a’其它字符不变)。输入一行字符输出加密处理后的字符样例输入a b样例输出b c解题思路:注意事项:参考代码:#inc…… 题解列表 2019年05月06日 0 点赞 0 评论 2394 浏览 评分:5.4
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 题目描述输入10个数,求它们的平均值,并输出大于平均值的数据的个数。输入10个数输出大于平均数的个数样例输入12345678910样例输出5解题思路:注意事项:参考代码:#includeintmain(){inti,k=0;floata[10], 题解列表 2019年05月06日 0 点赞 0 评论 1464 浏览 评分:0.0
字符逆序 (C语言代码) 题目描述将一个字符串str的内容颠倒过来,并输出。str的长度不超过100个字符。输入输入包括一行。第一行输入的字符串。输出输出转换好的逆序字符串。样例输入Iamastudent样例输出tnedutsamaI解题思路:看代码注意事项:for(i=0, 题解列表 2019年05月06日 0 点赞 0 评论 1609 浏览 评分:0.0
最小公倍数 (C语言代码)(非最小公倍数性质解) 摘要:欢迎大家批评指正,谢谢!!!解题思路: 两个数的最小公倍数不可能比他们的乘积大参考代码: #include<stdio.h> 题解列表 2019年05月06日 0 点赞 0 评论 2130 浏览 评分:0.0