Write Java program to print the table of characters that are equivalent to the Ascii codes from 1 to 122.
2 Answers
Start your code here
public static void print_ascii(int i_num){
//Type Casting a char with int will give Ascii code and vice Versa
for(int i=1;i<=i_num;i++){
System.out.println((char)i);
}
}