WAP a program using small letters and cover string to capital letters
Answers
Answered by
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
Math,
1 month ago
Math,
1 month ago
English,
1 month ago
Computer Science,
2 months ago
Physics,
9 months ago