//CS5-HMC-Sp.,00-HW4-5 //A. Khakpour, May, 00 class CharTable { //----------------------------------------------------------------- // Prints a table of Unicode characters and their numeric values // (Four Character/Number per line only). //----------------------------------------------------------------- public static void main (String[] args) { final int MIN = 32, MAX = 126, PER_LINE = 4; int count = 0; for (int chValue = MIN; chValue <= MAX; chValue++) { System.out.print ((char)chValue + " =" + chValue + "\t\t"); count++; if (count % PER_LINE == 0) System.out.println(); } } }