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语言代码) 摘要:解题思路:首先,1】可以硬解,2】使用宏定义 3】使用指针 注意事项:参考代码:#include <stdio.h>int main(){ int a[3] ,t ,i = 0,j = 0; scan…… 题解列表 2020年12月21日 0 点赞 0 评论 130 浏览 评分:0.0
[编程入门]三个数字的排序-题解(C语言代码) 摘要:- 解题思路:使用三目运算符 基本格式: ```c (codeblock1)?(codeblokc2):(codeblock3) ``` - 这是一个条件运算符,如果codeblock1为…… 题解列表 2020年03月27日 0 点赞 0 评论 298 浏览 评分: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语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int d,i,j; int s[10]; for(i=0;i<3;i++) scanf("%d"…… 题解列表 2019年05月06日 0 点赞 0 评论 264 浏览 评分:0.0
题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:用&&参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月17日 0 点赞 0 评论 67 浏览 评分: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
[编程入门]三个数字的排序-题解(Java代码) 摘要: public class Dsss { public static void main(String[] args) { Scanner sc=new Scanner(System.…… 题解列表 2019年12月18日 0 点赞 0 评论 461 浏览 评分:0.0
[编程入门]三个数字的排序-题解(C语言代码) 摘要:#include int main() { int a,b,c,t; scanf("%d %d %d",&a,&b,&c); if(b>a) { …… 题解列表 2020年02月06日 0 点赞 0 评论 385 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3],i, j, k; for(i=0; i<3; i++) scanf(…… 题解列表 2018年05月16日 0 点赞 0 评论 430 浏览 评分:0.0