Computer Science, asked by skullcandy486, 3 months ago

WAP a program using small letters and cover string to capital letters

Answers

Answered by kamalrajatjoshi94
0

Answer:

Program:-

import java.util.*;

public class UppercaseString

{

public static void main(String args[ ])

{

Scanner in=new Scanner(System.in);

String st,st1=" ";

System.out.println("Enter the String");

st=in.nextLine();

st1=st.toUpperCase();

System.out.println("The String in uppercase:"+st1);

}

}

Similar questions