Java Reference
In-Depth Information
10 . The ASCII lowercase letters are separated from the uppercase letters by 32. Thus, to
convert a lowercase letter to uppercase, subtract 32 from it. Use this information to
write a program that reads characters from the keyboard. Have it convert all lower-
case letters to uppercase, and all uppercase letters to lowercase, displaying the result.
Make no changes to any other character. Have the program stop when the user enters
a period. At the end, have the program display the number of case changes that have
taken place.
Search WWH ::




Custom Search