CODE
import java.io.*;
import java.lang.*;
class UpperCase
{
public static void main(String args[ ]) throws IOException
{
BufferedReader buff = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter the lowercase character : ");
String s = buff.readLine();
System.out.println("Upper case of "+s +" is "+s.toUpperCase());
}
}
OUTPUT DISPLAY
Post a Comment