[编程入门]结构体之成绩统计2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct xuesheng{ char num[10]; char name[20]; int a,b,c,zongfenhe;};…… 题解列表 2019年05月10日 0 点赞 0 评论 1483 浏览 评分:0.0
C语言训练-求PI* (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,j; double pi=0; for(i=1,j=0;;i=i+2…… 题解列表 2019年05月10日 0 点赞 0 评论 565 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 (C++代码) 摘要:#include<iostream> #include<cstring> using namespace std; int main() { char st1[100],st2[1…… 题解列表 2019年05月10日 0 点赞 0 评论 1310 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 (C++代码) 摘要:#include<iostream> using namespace std; int main() { char str[100]; int i=0,word=0,nu…… 题解列表 2019年05月10日 0 点赞 0 评论 1615 浏览 评分:0.0
哥德巴赫曾猜测 (C++代码) 摘要:解题思路:题目要求素数对的组合,那么我们可以将2到输入变量所有的素数用一个数组存起来接着两个循环求解。注意事项:注意循环的起始量,题目要求两个相同素数也满足条件,那么两个初始值设为一样的值。参考代码:…… 题解列表 2019年05月10日 1 点赞 0 评论 796 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n=0; double aver,a[11],sum=0; for(i=0;i<10;i++) {s…… 题解列表 2019年05月10日 0 点赞 0 评论 800 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%o\n",n); return 0;}…… 题解列表 2019年05月10日 0 点赞 0 评论 688 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double n; scanf("%lf",&n); printf("%.2lf\n",5*(n-32)/9);…… 题解列表 2019年05月10日 0 点赞 0 评论 474 浏览 评分:0.0
蓝桥杯算法训练VIP-判定字符位置 (C++代码)水 摘要:解题思路: 第一次拿平板写代码,感觉还是不错的 水题,水一下就过了参考代码:#include<bits/stdc++.h> using namespace std; int main(…… 题解列表 2019年05月11日 0 点赞 0 评论 1002 浏览 评分:0.0
蓝桥杯算法提高VIP-一元一次方程 (C语言代码)哈哈哈! 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h>int main(){ double a,b; scanf("%lf%lf",&a,&b); printf("%.2f",-b/a)…… 题解列表 2019年05月11日 0 点赞 0 评论 980 浏览 评分:0.0