C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:先比较两个数,得出比较大的,再跟第三个数比较。参考代码:#include<stdio.h>int max(int n,int m,int i);int main(){ int a,b,…… 题解列表 2018年07月30日 0 点赞 0 评论 1067 浏览 评分:0.0
C语言训练-自由落体问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int i,n; float sum=0,x=100; scanf("%d",&n); s…… 题解列表 2018年07月30日 0 点赞 0 评论 1005 浏览 评分:0.0
C语言训练-斐波纳契数列 (C语言代码)递归+迭代 摘要:解题思路: 斐波纳契数an. n<2 a0=a1=1. n>2 an=an-1+an-2注意事项:参考代码使用迭代的方法…… 题解列表 2018年07月30日 0 点赞 0 评论 925 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int n,b,c,d,e,f; scanf("%d",&n); { if(n>=0&&n<=9) pri…… 题解列表 2018年07月30日 1 点赞 0 评论 666 浏览 评分:0.0
整除的尾数 (C++代码) 摘要:#include "iostream" #include "algorithm" using namespace std; int ans; int main() { int a, b;…… 题解列表 2018年07月30日 1 点赞 0 评论 1814 浏览 评分:2.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int c=-100,F;while(c<=150){F = 32 + c*9/5;printf("c=%d->f…… 题解列表 2018年07月30日 0 点赞 0 评论 673 浏览 评分:0.0
数日子 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n=2018,s=19;…… 题解列表 2018年07月30日 0 点赞 0 评论 766 浏览 评分:0.0
与2无关的数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n; int a,b,c…… 题解列表 2018年07月30日 0 点赞 0 评论 882 浏览 评分:2.0
求所给范围内水仙花数并排列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a,b; while(c…… 题解列表 2018年07月30日 0 点赞 0 评论 1712 浏览 评分:0.0
台球碰撞 (C++代码) 摘要:#include <stdio.h>#include<iostream>#include<math.h>#include<iomanip>using namespace std;double xs(i…… 题解列表 2018年07月30日 0 点赞 0 评论 1026 浏览 评分:2.0