Question: C++ Question Background The following functions defined in the library header file are used to manipulate or test individual characters toupper () tolower () isupper

C++ Question

C++ Question Background The following functions defined in the library header file

are used to manipulate or test individual characters toupper () tolower ()

Background The following functions defined in the library header file are used to manipulate or test individual characters toupper () tolower () isupper () islower () isalpha () isdigit ) Convert character to uppercase if alphabet Convert character to lowercase if alphabet Check whether character is alphabet u Check whether character is alphabet lowercase Check whether character is alphabet Check whether character is a digit ase Instructions Write a program named casing.cpp that defines five user-defined functions string titleCase (string input) o Returns a modified version of input where each word starts with an uppercase letter o Returms a modified version of input which alternates between upper- and lowercase o Returms a modified version of input that capitalizes each letter o Returns a modified version of input that only contains alphabet letters string alterCase (string input) string allc aps (String input ) string alphabetonly (string input) o HINT: use the .erase ) string member function bool yesorNo () Prompts the user for a "yes" or "no" answer, accepting any upper- and lowercase combination of each word Uses a loop to validate the input o o Implement a main function that tests each function, as shown in the sample output

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!