[编程入门]三个数最大值 (C语言代码) 摘要:解题思路:max = max(max,max)就可以了注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[5];int used[5…… 题解列表 2019年04月20日 0 点赞 0 评论 1145 浏览 评分:0.0
课后习题1.6 (C++代码)max_element 摘要:注意事项:用到max_element参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a…… 题解列表 2019年03月02日 0 点赞 0 评论 526 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (Java代码) 摘要:解题思路:用三元运算符解题会快,而且代码不多注意事项:三元运算符的定义参考代码:import java.util.Scanner;public class Main { public static v…… 题解列表 2019年02月25日 0 点赞 0 评论 892 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d",a>(b>c?…… 题解列表 2019年02月01日 0 点赞 0 评论 373 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d", &a,&b,&c); max=a…… 题解列表 2019年02月01日 0 点赞 0 评论 382 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:一个接一个比较注意事项:不要弄混比较量参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d",&a,&b,&c…… 题解列表 2018年12月30日 0 点赞 0 评论 337 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d…… 题解列表 2018年12月28日 0 点赞 0 评论 300 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if(a<b) { t=a;…… 题解列表 2018年12月27日 0 点赞 0 评论 577 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:三目运算注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d",a>(…… 题解列表 2018年12月25日 0 点赞 0 评论 399 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:int f(int num,int num1);//返回最大的数int f(int num,int num1){ return num > num1?num:num…… 题解列表 2018年12月04日 0 点赞 0 评论 425 浏览 评分:0.0