Below is the syntax highlighted version of ThreeSort.java.
/************************************************************************* * Name: * Login: * Precept: * * Compilation: javac ThreeSort.java * Execution: java ThreeSort num1 num2 num3 * Dependencies: none * * Read 3 integer values from the command line and print them * in ascending order. * * % java ThreeSort 17 50 33 * 17 * 33 * 50 * * Exercise 1.2.34 *************************************************************************/ public class ThreeSort { public static void main(String[] args) { // Input // Compute the order // Output in ascending order } }