| 04/05/2011 5:47 pm |
 Administrator Cool Senior Member

Regist.: 04/04/2011 Topics: 14 Posts: 15
 OFFLINE | Hello there, you've finally made it to the section you've been waiting for.Note that the codes below are the solution to the problem above.
The java codes
import java.io.*;
public class CharCodes {
public static void main(String[] args) {
for (int k = 32; k < 127; k++)
System.out.println(k + "\t" + (char)k);
}
}
It would be best you understand what each line of code does by referring to the textbook. |
|
|