IntegerSort.java


Below is the syntax highlighted version of IntegerSort.java.


/********************************************************************
 *  Author:
 *
 *  Program to read in integers between 0 and 99 from standard input
 *  and print them out in sorted order.
 *
 *  Dependencies: StdIn, StdOut
 *******************************************************************/

public class IntegerSort {
    public static void main(String[] args) {
        // Take advantage of fact that they are integers between 0 and 99
        // Set up array for frequency count of values 0 thru 99





        // Loop to process input: don't know how many inputs - must use EOF


            // read input and increment histogram cell




        // loop to go through histogram cells


            // inner loop to print each value correct number of times




        // print out line feed just to be neat


    }
}