Question: Write a program that reads string that consists of (Upper case, Lower case, and Digits) including white spaces from the keyboard until user enters

Write a program that reads string that consists of (Upper case, Lower case, and Digits) including white spaces from the keyboard until user enters '#'. Then, your program should count total number of characters, uppercase letters, lowercase letters, and digits. Example of a possible input: Hello, welcome to Tempe. Today's temperature is 117!# Approach: Hint: First write the algorithm Come up with a flowchart that represents the program logic. verify your approach with sample data set Develop the program and test it for various inputs You will need to use selection within the while loop.
Step by Step Solution
3.36 Rating (149 Votes )
There are 3 Steps involved in it
Algorithm 1 Initialize variables totalCharacters uppercaseCount lowercaseCount digitCount as 0 2 Rea... View full answer
Get step-by-step solutions from verified subject matter experts
