C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:输入3个值,运用?:运算符算出最大值。注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d"…… 题解列表 2018年11月23日 3 点赞 0 评论 680 浏览 评分:0.0
蓝桥杯算法提高VIP-数组输出 (C++描述 点开有惊喜,,,超级简单的好吧,不到20行解决问题) 摘要:解题思路:求绝对值的math 的运用输入数组的值找到绝对值最大的数的角标输出注意事项:注意输出的数据是绝对值以后的,还要明白角标与实际位置的不同,行列都是从0开始数的,而输出的时候是从1开始数的,如a…… 题解列表 2018年11月23日 3 点赞 2 评论 766 浏览 评分:9.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include<stdio.h> double fact(int n); int main() { int n,i; scanf("%d",&n); double…… 题解列表 2018年11月23日 0 点赞 0 评论 1332 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C++描述 点开有惊喜) 摘要:解题思路:先找最小的数的角标,再进行交换的工作注意事项:没什么需要注意的,仔细就行了,注意绝对值的使用 abs(m)是对m取绝对值,用abs的时候注意要定义一个math参考代码#include <io…… 题解列表 2018年11月23日 0 点赞 0 评论 1243 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:#include<stdio.h> int main() { int scores[1000],score,i=0,j,excellent=0,pass=0,unpass=0; …… 题解列表 2018年11月23日 0 点赞 0 评论 1191 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:#include<stdio.h> #include"math.h" int main() { int n,row,col,temp,matrix[6][6],i,j,max_elem…… 题解列表 2018年11月23日 0 点赞 0 评论 1225 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include<stdio.h> int ctof(int c); int main() { int i=-100; for(;i<=150;i+=5) prin…… 题解列表 2018年11月23日 0 点赞 0 评论 1687 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include<stdio.h> double fact(int n); double mypow(double x,int n); double get_double(double x,in…… 题解列表 2018年11月23日 0 点赞 0 评论 1869 浏览 评分:0.0
题解 1065: 2004年秋浙江省计算机等级考试二级C 编程题(1) 摘要:#include<stdio.h> #include "math.h" #define N 10 #define min(a,b) (a)>(b)?(b):(a) int main() { …… 题解列表 2018年11月23日 0 点赞 0 评论 1364 浏览 评分:0.0
C语言训练-角谷猜想 (C语言代码)简单,清晰! 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int N; scanf("%d",&N);//输入 while(1)//while(1)循环直到最后得到N/…… 题解列表 2018年11月23日 0 点赞 0 评论 2069 浏览 评分:0.0