C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:注意事项:注意一下float的scanf是f,不可以写成其他的参考代码:#include<stdio.h>int main(){ float output,input; scanf("%f",&in…… 题解列表 2019年02月13日 0 点赞 0 评论 473 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:技巧真的妙哉!【套用物理老师一局话,要悟!23333/逃ε=ε=ε=┏(゜ロ゜;)┛555参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%…… 题解列表 2019年02月13日 0 点赞 0 评论 542 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:注意判断条件不能像数学那样子,这是不允许的!参考代码:#include"stdio.h"int main(){ int x,y; scanf("%d",&x); if(x<1){ …… 题解列表 2019年02月13日 0 点赞 0 评论 503 浏览 评分:0.0
蓝桥杯2013年第四届真题-公式求值 (C语言代码) 摘要:解题思路:注意事项:我就想问,为啥不对参考代码:#include <math.h>#include <stdio.h>long long int zong,sum=0;long long int n…… 题解列表 2019年02月14日 0 点赞 3 评论 1044 浏览 评分:0.0
P1003 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ long M,t=0; // t记录走到当前的…… 题解列表 2019年02月14日 0 点赞 0 评论 472 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,b=0; float average;…… 题解列表 2019年02月14日 0 点赞 0 评论 572 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i=0,sum=0,average,b=0; do { sc…… 题解列表 2019年02月14日 0 点赞 0 评论 761 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.7 (C++代码) 摘要:解题思路:双层循环:第一层循环执行1-N的递增,第二层循环计算某个值的所有因子注意事项:第二层循环的循环判定条件参考代码:#include <iostream>using namespace std;…… 题解列表 2019年02月14日 0 点赞 0 评论 1187 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C++代码) 摘要:解题思路:利用n能否被除 判断n的长度,利用注意事项:参考代码:#include <iostream>#include <cmath>using namespace std;int main(){ …… 题解列表 2019年02月14日 0 点赞 0 评论 1171 浏览 评分:0.0
小明A+B (C++代码)水啊! 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string str1,str2; int n; cin>…… 题解列表 2019年02月14日 0 点赞 0 评论 818 浏览 评分:0.0