V22.0002 - ASSIGNMENT 3


Write a program that reads a series of characters from the keyboard terminated by a newline ('\n'). The program will print the characters back with all lower case letters changed into upper case. All other characters will remain the same. At the end the program will output a summation of how many upper case letters, how many lower case letters, how many spaces and how many other characters were encountered and the total number of characters.

Example run:

   This is JUst a Sample Run of the stupid homeWork.
   THIS IS JUST A SAMPLE RUN OF THE STUPID HOMEWORK.

   Upper case letters : 6
   Lower case letters : 33
   Blank spaces       : 9
   Other characters   : 1
   Grand total        : 49
Notes: