Question
count the number of uppercase and lowercase alphabet characters, digits, spaces and other symbols Write a program that prompts the user to enter an input
count the number of uppercase and lowercase alphabet characters, digits, spaces and other symbols
Write a program that prompts the user to enter an input string of characters (uppercase and lowercase alphabet characters, digits, spaces and/or other symbols) and store them into a char array.
Include the following functions with their requirements:
int UppercaseLetters(const char input[])
//return the total counts of uppercase alphabet letter from the input string of characters
int LowercaseLetters(const char input[])
//return the total counts of lowercase alphabet letter from the input string of characters
int Digits(const char input[])
//return the total counts of digits from the input string of character
int Spaces(const char input[])
//return the total counts of space characters from the input string of character
int otherSymbols(const char input[])
//return the total counts of other characters that are not alphabet letters, digits, or spaces from the input string of character
void print(const char input[])
//print the resulted counts of character types
Test the functions from the main() and display the exact output as follow:
CAUsersInq41398 documents visual studio 2017 Projects\ Projectl\Debug\Project2.exe Enter a string of characters: The chapters group into 3 PARTS for problem solvin g and programming using C++. Char Type Count cases cases Digits Spaces Others 12 The total count of characters is 78
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started