解题思路:
注意事项:
参考代码:
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 人评分
1024题解浏览:806 |
C语言程序设计教程(第三版)课后习题5.5 (C语言代码)浏览:554 |
C语言程序设计教程(第三版)课后习题5.7 (C语言代码)浏览:506 |
简单的a+b (C语言代码)浏览:524 |
C语言程序设计教程(第三版)课后习题9.8 (C语言代码)浏览:609 |
Quadratic Equation (C语言代码)浏览:988 |
C语言训练-自守数问题 (C语言代码)浏览:741 |
C语言程序设计教程(第三版)课后习题8.1 (C语言代码)浏览:565 |
母牛的故事 (C语言代码)浏览:562 |
盐水的故事 (C语言代码)浏览:1524 |