C语言训练-排序问题<1> (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,d; int t; scanf("%d %d %d %d",&a,&b,…… 题解列表 2017年09月11日 0 点赞 0 评论 793 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:解题思路:好多题目都是很坑爹的,结果输出的是正确的,但是最终确给出输出答案错误.注意事项:注意的是不要用printf给提示,不然会提示你输出答案不正确.参考代码:#include <stdio.h> …… 题解列表 2017年09月12日 0 点赞 0 评论 1098 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int x,y; scanf("%d", &x); if (x < 1) …… 题解列表 2017年09月12日 0 点赞 1 评论 950 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { unsigned int num; scanf("%3d", &num); …… 题解列表 2017年09月12日 0 点赞 0 评论 748 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int inputNum,numArr[5],length; scanf("%…… 题解列表 2017年09月12日 0 点赞 0 评论 836 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int profit; float bonus; scanf("%d…… 题解列表 2017年09月12日 0 点赞 0 评论 972 浏览 评分:0.0
Pascal三角 (C语言代码)格式错误 摘要:解题思路:金字塔三角由直角三角每行前面加对应空格偏移注意事项:参考代码:#include <stdio.h>int main(){ int cmd,i,j,flag,a[100][100]={0}; …… 题解列表 2017年09月12日 0 点赞 0 评论 751 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> long factorial(int num) { int i; long result=1; i…… 题解列表 2017年09月12日 0 点赞 0 评论 995 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C++代码) 摘要:参考代码:#include <algorithm>#include <iostream>using namespace std;int main(){ int a,b,c; cin >> …… 题解列表 2017年09月12日 1 点赞 0 评论 1203 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.7 (C语言代码) 摘要:解题思路:注意事项:我是在linux下面写的, factor[length]这个数组本来是和前面的变量定义在一起的.然后就编译,编译也没报错.然后就运行, 发现运行到第37次的时候,程序自动退出了,真…… 题解列表 2017年09月13日 0 点赞 0 评论 797 浏览 评分:0.0