Question: code two functions, both which accept a C-string parameter and return information about the C-string. bool AllLetters(char *text) //this function accepts one C-string parameter and
code two functions, both which accept a C-string parameter and return information about the C-string.
bool AllLetters(char *text) //this function accepts one C-string parameter and returns true if all characters in the a text are letters.
void AllUpper(char* text) //this function accepts one C-string parameter containing all letters and setting all characters to upper case
Your main program will verify that these function work properly by:
* asking the user to enter some text without blanks
*print out the text
* while the text that the user entered does not contain only letters (use your function to check this)
Ask the user to enter some text without blanks
* print out the text
* update the text so that the first letter only is in upper case (use your function to update the text)
* print out the text
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
