C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:#include <stdio.h> int main(void) { int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if (a>b…… 题解列表 2018年05月01日 1 点赞 0 评论 654 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:1,创建一个长度为3的数组,从键盘输入值2,选择法排序3,把排序后的数组用for循环输出注意事项:strlen()只能求字符数组的长度。参考代码:#include<stdio.h>#incl…… 题解列表 2018年04月21日 0 点赞 0 评论 430 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (Java代码) 摘要:解题思路:创建一个长度为3的数组,用for循环输入,然后用冒泡法排序,最后按顺序输出。注意事项:记得每个数组元素后输出一个空格,参考代码:import java.util.Scanner;public…… 题解列表 2018年04月21日 0 点赞 0 评论 590 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 一看就会哈哈哈哈哈快点开 摘要:解题思路:注意事项:参考代码: #include<stdio.h> void main() { int a,b,c,temp=0; sc…… 题解列表 2018年04月10日 0 点赞 2 评论 322 浏览 评分:8.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,temp; scanf("%d%d%d",&a,&b,&c); if(a <= b) { …… 题解列表 2018年03月13日 0 点赞 0 评论 721 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>#include<math.h>int main(){ …… 题解列表 2018年03月03日 0 点赞 0 评论 594 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码)(冒泡法) 摘要:解题思路:注意事项:参考代码:/*输入三个整数,按由小到大的顺序输出。*/#include <stdio.h>int main(void){ int a[3]; int i,j,jh;…… 题解列表 2018年02月27日 0 点赞 0 评论 744 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <algorithm>#include <cstring>using namespace std;int main()…… 题解列表 2018年02月26日 0 点赞 0 评论 537 浏览 评分:0.0
不用数组,10行代码就能搞定,,简单易懂!! 摘要:解题思路:代码a>b?c:d; 如果a>b成立,返回c,否则返回d注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,q,w,e; scanf…… 题解列表 2018年02月14日 8 点赞 3 评论 1563 浏览 评分:9.6
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:1.第一种方法,用其他值做桥梁2.用三目运算符注意事项:大小排列注意不要弄混了。参考代码:1-------------------------------------------------…… 题解列表 2018年02月13日 0 点赞 0 评论 1213 浏览 评分:9.0