Write a program that accepts a string and displays another string composed
(Not rated)
(Not rated)
Write a program that accepts a string and displays another string composed of the characters of the first string but
with all lowercase letters capitalized. Any non-alphabetical characters, such as punctuation, should be left unchanged.
For example, the string “Live Long and Prosper!” should become “LIVE LONG AND PROSPER!”
You are restricted to using only the methods of the String and StringBuilder classes.
12 years ago
complete solution
NOT RATED
Purchase the answer to view it
- stringtest.java