Question: Lab 1 0 Learning objectives: Application of loops in problem solving Write a program that reads a string of characters from the keyboard that consists

Lab 10
Learning objectives: Application of loops in problem solving
Write a program that reads a string of characters from the keyboard that consists of any of the following characters:
a-z A-Z 0-9 space char
until the user enters ' # '. Then, your program shall count the total number of characters, number of uppercase letters, number of lowercase letters, and number of digit characters.
Example input:
Pssst Huh Q23z#
Expected Output:
14
7
3
2
2
 Lab 10 Learning objectives: Application of loops in problem solving Write

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!