2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int x; double fx; scanf("%…… 题解列表 2018年05月03日 0 点赞 0 评论 1301 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> #define N 6 int main() { int m, a[N][N],…… 题解列表 2018年05月03日 0 点赞 0 评论 871 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:解题思路:大多数金融类问题看似复杂,其本质皆为数学上的分段函数,只要细心将其分类且细心计算,便可成功求解。注意事项:1.取值范围的表示; 2.乘号的必要性; 3.if-else函数虽复杂,但却来的扎实…… 题解列表 2018年05月03日 0 点赞 0 评论 727 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:解题思路:注意事项:注意不要忘记写* if后的括号里不要带"" 或; 等。参考代码:#include"stdio.h"int main(){ int x,y; scanf("%d",&x); if(x…… 题解列表 2018年05月03日 0 点赞 0 评论 744 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.6 (C语言代码) 摘要:解题思路:注意事项:scanf之前一定要先定义一个int ,不能直接运用scanf,最后一个else后面不能再有( )。参考代码: #include"stdio.h"int main(){ int a…… 题解列表 2018年05月03日 0 点赞 0 评论 998 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:/* 2018年5月3日16:05:22 目的: sum=2+5+8+11+14+…,输入正整数n,求sum的前n项和。 */ #include <stdio.h> int mai…… 题解列表 2018年05月03日 0 点赞 0 评论 675 浏览 评分:0.0
C二级辅导-同因查找 (C语言代码) 摘要:/* 2018年5月3日16:24:43 目的: 求出10至1000之内能同时被2、3、7整除的数,并输出。 每行一个 */ #include <stdio.h> int mai…… 题解列表 2018年05月03日 0 点赞 0 评论 513 浏览 评分:0.0
Dinner (C++代码) 摘要:#include <bits/stdc++.h> using namespace std; string s[4] = { "bowl", "knife", "fork" ,"chopsticks…… 题解列表 2018年05月03日 0 点赞 0 评论 1160 浏览 评分:0.0
C二级辅导-计负均正 (C语言代码) 摘要:#include <stdio.h> int main (void) { double a[20],c=0,h=0; int i,j=0; for(i=0;i<20;i+…… 题解列表 2018年05月03日 0 点赞 0 评论 1133 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码) 摘要:/* 2018年4月28日17:14:51 目的: 输入两个正整数m和n,求其最大公约数和最小公倍数。 */ #include <stdio.h> int main(void) …… 题解列表 2018年05月03日 0 点赞 0 评论 816 浏览 评分:0.0