Question: MS Word application, which is responsible for counting the lowercase letters, uppercase letters and digits in a given text, and reporting these numbers to the
MS Word application, which is responsible for counting the lowercase letters, uppercase letters and digits in a given text, and reporting these numbers to the user. Given below is the program implementing that extension. Fill in the spaces. Do not use typeh bary, Hint: In ASCII, each char corresponds to a number. The digit characters through the uppercase characters through and the lowercase letters 'a through are consecutive int maino char text100L int C1-0, lower Counte, upperCount=0, digitCount; printftenter text: gets text) while text cint) text: Il checkitext is lowercase pes) lower Count else if) che il tetto suppercase (pts ... update the correct counter else if(...) check if text number 3 pts) digitCountil update the correct counter tu Y complete pts) princ/l report the counters to the user (4 pts Your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
