123456789101112131415161718192021222324252627282930313233343536373839404142 |
- class OperatorExer02
- {
- public static void main(String[] args)
- {
-
-
- int a = 30;
- int b = 60;
- int c = 40;
-
-
-
-
-
-
-
- int max = (((a > b) ? a : b)>c) ? ((a > b) ? a : b) : c;
- System.out.println(max);
-
- int week = 2;
- System.out.println("10天后是:"+(week + 10) % 7) ;
- }
- }
|