Question: Write a C++ program to prompt the user to input a sentence terminated by * into an array A of size 50 . (6 points)
Write a C++ program to prompt the user to input a sentence terminated by * into an array A of size 50. (6 points)
The program must enable the user to choose from the following menu (Use functions): (4 points)
- Store in an array B all the vowel letters in array A. (6 points)
- Calculate and print the number of words in the sentence stored in array A. (6 points)
- Change the case of all vowel letters in array A from small to capital and vice versa. (6 points)
- Check if the number of capital letters is smaller than the number of small letters in array A.(6 points)
The user should be able to repeat the program execution till he/she decides to stop. (6 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
