2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:注意看题目输出要求,c的的值都是间隔5的,所以c=c+5参考代码:#include<stdio.h>int ctof(int c){ int f; f=32+c*9/5; retu…… 题解列表 2019年05月05日 0 点赞 0 评论 615 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[6][6],n,i,j,max,k,l; scanf("%d",&n); for(i=0;i<n;i…… 题解列表 2019年05月05日 0 点赞 0 评论 842 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>int main(){ char a[60]; int l,i=…… 题解列表 2019年05月05日 0 点赞 0 评论 464 浏览 评分:0.0
[编程入门]结构体之时间设计 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct data{int year;int month;int day;}s;int main(){int t=0; scanf(…… 题解列表 2019年05月05日 0 点赞 0 评论 1264 浏览 评分:0.0
[编程入门]结构体之时间设计 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct data{int year;int month;int day;}s;//定义结构体int main(){int t=0;…… 题解列表 2019年05月05日 0 点赞 0 评论 1170 浏览 评分: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 评论 1096 浏览 评分:0.0
[编程入门]结构体之成绩记录 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void input();void print();struct student{ char num[20];char name[10]…… 题解列表 2019年05月05日 0 点赞 0 评论 984 浏览 评分: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 评论 710 浏览 评分: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 评论 670 浏览 评分:0.0
最小公倍数 (C语言代码)(非最小公倍数性质解) 摘要:欢迎大家批评指正,谢谢!!!解题思路: 两个数的最小公倍数不可能比他们的乘积大参考代码: #include<stdio.h> 题解列表 2019年05月06日 0 点赞 0 评论 1668 浏览 评分:0.0