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
. 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
Get step-by-step solutions from verified subject matter experts
