import java.io.*;
class charinput
{ public static void main(String args[])throws IOException
{ char ch;
System.out.print("Enter a char: ");
ch=(char)System.in.read();
System.out.print("\n\n" + ch);
}
}
class charinput
{ public static void main(String args[])throws IOException
{ char ch;
System.out.print("Enter a char: ");
ch=(char)System.in.read();
System.out.print("\n\n" + ch);
}
}
Comments
Post a Comment