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)

  1. Store in an array B all the vowel letters in array A. (6 points)
  2. Calculate and print the number of words in the sentence stored in array A. (6 points)
  3. Change the case of all vowel letters in array A from small to capital and vice versa. (6 points)
  4. 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

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!