Question: Please Answer quickly . Write a C++ program that does the following a. Prompt the user to input a sentence b. Gen erate a random

Please Answer quickly  Please Answer quickly . Write a C++ program that does the

. Write a C++ program that does the following a. Prompt the user to input a sentence b. Gen erate a random number in the range of zero and the length of the string (this will become a random location in the string) c.Print the number of letters 'a' and 'e' in the sub-string starting from the random location till the end of the strings. here are n ence andhii in the sentence after 2 locat ion re are fa's and 2 e's in the ter a sentence: that is a paln tree. here are 8 a's and 2 's in the sentence after 14 location

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!