class ConvertToPrintChar{ public static void main(String args[]) throws java.io.IOException{ for (;;){ // loop forever int charn = System.in.read(); if (charn == -1){ break; // break out of for loop } System.out.print("System.out.print((char)" + charn + ");"); }// end of for loop } // end of main method } // end of class ConvertToPrintChar