解题思路:
注意事项:
参考代码:
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int a1 = sc.nextInt(); int a2 = sc.nextInt(); int box = Math.max(a1, a2); int a3 = sc.nextInt(); box = Math.max(box, a3); System.out.println(box); } }
0.0分
2 人评分