[编程入门]结构体之时间设计 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct data{int year;int month;int day;}s;//定义结构体int main(){int t=0;…… 题解列表 2019年05月05日 0 点赞 0 评论 913 浏览 评分:0.0
C语言训练-谁家孩子跑最慢* (C语言代码)(此方法只此一家,欢迎各位拍砖指正) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,m,n,s,a[9],sum=0; for(i=0;i<9;i++) { a[i]=i+1; …… 题解列表 2019年05月05日 0 点赞 0 评论 950 浏览 评分:0.0
[编程入门]结构体之成绩记录 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void input();void print();struct student{ char num[20];char name[10]…… 题解列表 2019年05月05日 0 点赞 0 评论 769 浏览 评分:0.0
[编程入门]三个数字的排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define swap(m,n) {int t;t=m;m=n;n=t;}int main(){ int a,b,c,min; …… 题解列表 2019年05月06日 0 点赞 0 评论 628 浏览 评分:0.0
[编程入门]三个数字的排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define swap(m,n) {int t;t=m;m=n;n=t;}int main(){ int a,b,c,min; …… 题解列表 2019年05月06日 0 点赞 0 评论 585 浏览 评分:0.0
最小公倍数 (C语言代码)(非最小公倍数性质解) 摘要:欢迎大家批评指正,谢谢!!!解题思路: 两个数的最小公倍数不可能比他们的乘积大参考代码: #include<stdio.h> 题解列表 2019年05月06日 0 点赞 0 评论 1473 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:题目描述将一个字符串str的内容颠倒过来,并输出。str的长度不超过100个字符。输入输入包括一行。 第一行输入的字符串。输出输出转换好的逆序字符串。样例输入I am a student样例输出tne…… 题解列表 2019年05月06日 0 点赞 0 评论 918 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:题目描述输入10个数,求它们的平均值,并输出大于平均值的数据的个数。输入10个数输出大于平均数的个数样例输入1 2 3 4 5 6 7 8 9 10样例输出5解题思路:注意事项:参考代码:#inclu…… 题解列表 2019年05月06日 0 点赞 0 评论 696 浏览 评分:0.0
[编程入门]自定义函数之字符提取 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; int i; gets(a); …… 题解列表 2019年05月06日 0 点赞 0 评论 446 浏览 评分: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 评论 1294 浏览 评分:0.0