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

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

筛选

三个数比较大小

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int *bigger(int *a, int *b){    if(*a >= *b)    {        return a;  ……

max解决三个数最大值

摘要:解题思路:看到比大小,就能想到max函数,两行解决。注意事项:参考代码:a,b,c=map(int,input().split())print(max(a,b,c))……

[编程入门]三个数最大值-题解(C语言代码)

摘要:解题思路:三个数比大小,只需先找出两个数的最大值,再和第三个数相比即可。采用三目运算,a>b?a:b; 注意事项:三目运算符的书写参考代码:#include<stdio.h> int main(){……

java--study||O.o

摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { ……