题解 1002: [编程入门]三个数最大值

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

三目运算求解

摘要:解题思路:这三个数直接用一个语句判断,不需要if,代码简洁。注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a……

C语言新手,见丑了

摘要:解题思路:最麻烦但思路易理解注意事项:参考代码:#include<stdio.h>int main(){    int a,b,c;    int t;    scanf("%d %d %d",&a,……

JAVA解三个数最大值

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……

三个数最大值

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a,b,c,max;    cin>>a>>b>>c; ……

[编程入门]三个数最大值

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){    int a[3],i,max;    for(i=0;i<3;i+……

最简单最基础的写发

摘要:解题思路:利用if语言和赋值法,简单暴力的直接写出!注意事项:没有什么需要注意的,看到就会参考代码:#include <stdio.h>int main(){    int a, b, c;    s……

C++三目运算符

摘要:解题思路:三目运算符判断大小三目运算符:条件?条件成立:条件不成立注意事项:灵活使用三目运算符会大大提高你的代码效率参考代码:#include <iostream>using namespace st……