Write a program to accept a string and change the case of each letter of the string.
Display the new string:
Sample Input: WelComE TO School
Sample Output: wELcOMe to sCHOOL
Write a program in java to compute and display an annual water tax chart based
on the input value of water consumptions.
Answers
Answered by
1
Answer:
Java String toUpperCase() Method
The toUpperCase() method converts a string to upper case letters. Note: The toLowerCase() method converts a string to lower case letters.
Similar questions