Question: You are going to write a C++ program that determines information about a series of strings. For the strings entered you need to determine the

You are going to write a C++ program that determines information about a series of strings. For the strings entered you need to determine the following:

1. How long are all the strings together.

2. How many r's are there in all the strings combined?

3. What is the substring starting at index 5 and going to 10 characters in sentence 2 entered?

You will use the following four strings to determine the information above. You should ask the user for the strings, so other strings could be used.

Four score and seven years ago our fathers brought forth on this continent,

a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.

Now we are engaged in a great civil war, testing whether that nation,

or any nation so conceived and so dedicated, can long endure.

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!