解题思路:
注意事项:
参考代码:
import java.util.Scanner;
import java.text.DecimalFormat;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while(scanner.hasNext()){
int a =scanner.nextInt();
int b =scanner.nextInt();
int c =scanner.nextInt();
int max;
if(a>b)max=a;
else
max=b;
if(max>c)System.out.println(max);
else
System.out.println(c);
}
}
}
0.0分
0 人评分