Scanner Sc = new Scanner (System.in);
while (true) {
int a = sc.nextInt):
int b = sc.nextInt):
int c = sc.nextInt() ;
int max =
(a> b?a: b) > c? (a> b?a: b) : c:
int mid =
(a < b ? a : b) > c? (a<b? a: b) : (a> b? a: b) < c? (a›b?a: b): c:
int min
= (a < b?a: b)
< c? (a<b?a: b) : c:
System.out.println("max"
+ max)
System.out.println("mid"
+ mid) ;
System.out.println("min"
+ min) :