C语言程序设计教程(第三版)课后习题7.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int m, n,N; scanf("%d",&N); for(m=2; m<=N; m++) …… 题解列表 2018年10月29日 0 点赞 0 评论 511 浏览 评分:0.0
C二级辅导-统计字符 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i=0; int b=0,c=0,m=0,n=0; ch…… 题解列表 2018年10月29日 0 点赞 0 评论 695 浏览 评分:0.0
蓝桥杯算法提高VIP-十进制数转八进制数 (C语言代码) 摘要:解题思路:任意进制M转化为10进制,10进制转化为进制N (进制2-16)参考代码:#include "stdafx.h"#include "string.h"#define M 10#defin…… 题解列表 2018年10月29日 0 点赞 0 评论 1364 浏览 评分:0.0
蓝桥杯算法提高VIP-十进制数转八进制数 (C语言代码) 摘要:// 进制为M数值n → 进制N后的结果 (2~16)#include "stdafx.h"#include "string.h"#define M 10#define N 8int stoi(ch…… 题解列表 2018年10月29日 0 点赞 0 评论 1050 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:调用函数不要出错参考代码:#include<stdio.h> #include<math.h> int main() { int x; float f=0; sc…… 题解列表 2018年10月29日 0 点赞 0 评论 761 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:一定要注意示例输出的样子就是要求输出的样子,如c=0->f=32参考代码:#include<stdio.h> int ctof(int c) { return 3…… 题解列表 2018年10月29日 0 点赞 0 评论 808 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:1、建立数组输入元素2、比较绝对值大小,做行列标记,记住绝对值最大元素的行列下表注意事项:1、变量一定要初始化2、max赋值的地方千万不要弄错了,不然输出一定不对参考代码:#include<…… 题解列表 2018年10月29日 1 点赞 0 评论 650 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:不用设立for循环的截止条件,在循环中控制就好参考代码:#include<stdio.h> int main() { int a[80]; int i,y=0,t=0,…… 题解列表 2018年10月29日 0 点赞 0 评论 789 浏览 评分:0.0
蓝桥杯算法提高VIP-最长单词 (C语言代码) 摘要:#include "stdafx.h"#include "string.h"int main(){ int i,j=0, c1 = 0,c2=0; char str[100000] = { 0 }, …… 题解列表 2018年10月29日 1 点赞 0 评论 550 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:注意返回值定义为double型,不然虽然结果正确,但是通过不了参考代码:#include<stdio.h> double fact(int k) { int i; …… 题解列表 2018年10月29日 0 点赞 0 评论 1160 浏览 评分:0.0