Solve problems with IF statements
// sortinput.java - sort three Numbers import Tio. *; // use the package TiO class sortinput {public static void main (string [] args) {Int A, B, C, T; system.out.println (" TYPE Three Integers: "); a = console.in.readint (); b = console.in.readint (); c = console.in.readint (); if (a> b) {t = a; a = B; b = T;} if (b> c) {t = b; b = C; c = t;} if (a> b) {t = a; a = b; b = t;} system.out .print ("The Sorted Order IS:"); System.out.Println (A "," B "," C);}}
There is nothing to say ...