1043: [编程入门]三个数字的排序 摘要:解题思路:数组方法注意事项:sort那一行要写a+3参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[3]; for…… 题解列表 2021年04月11日 0 点赞 0 评论 151 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路: 使用数组,输入三个整数,然后通过冒泡法,进行从小到大的有序排列,最后输出数组。注意题目要求空格隔开。代码如下:#include<stdio.h> #define xx 3 int…… 题解列表 2017年06月16日 2 点赞 0 评论 1057 浏览 评分: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
[编程入门]三个数字的排序 冒泡排序 摘要:参考代码:#include<stdio.h>int main(){ int a[3]; for(int i=0;i<3;i++) scanf("%d",&a[i]); for(int j=0;…… 题解列表 2022年01月05日 0 点赞 0 评论 188 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; scanf("%d%d%d", &a, &b, &c); int m…… 题解列表 2019年04月02日 0 点赞 0 评论 382 浏览 评分:0.0
1043: [编程入门]三个数字的排序(插入排序思想) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a[3] = {0}; for (int…… 题解列表 2023年12月14日 0 点赞 0 评论 59 浏览 评分:0.0
[编程入门]三个数字的排序-题解(C语言代码) 摘要:解题思路:找到最大值与最小值注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t,max,min,mon; scanf("%d %d %d",&a,&b…… 题解列表 2020年12月23日 0 点赞 0 评论 210 浏览 评分:0.0
[编程入门]三个数字的排序-题解(C语言代码) 三个判断!! 摘要:```c #include int main() { int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a…… 题解列表 2019年11月21日 0 点赞 0 评论 1103 浏览 评分:0.0
[编程入门]三个数字的排序-题解(C语言代码) 摘要:`#include int main() { int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d %d %d",(ac?(a>b?a:b):…… 题解列表 2020年02月15日 0 点赞 0 评论 398 浏览 评分:0.0
题解1043dvdfvdfvdfbvdfbdfbdfvdv (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>#define SWAP(a,b) {a=a^b,b=a^b}using namespace std;int main()…… 题解列表 2018年10月28日 0 点赞 0 评论 397 浏览 评分:0.0