Question: Write basic C++ statements to: Ask the user How many dogs do you own? Read in that many single word names (one for each dog)

Write basic C++ statements to:

Ask the user "How many dogs do you own?"

Read in that many single word names (one for each dog) from the user and store the names in an array.

After the user has entered the names, display them as in the example below (note the commas and period).

OUTPUT SHOULD LOOK LIKE THIS:

How many dogs do you own? 4 Ok, enter their names! Cujo BoneSnap Brad Muffins The names you entered: Cujo, BoneSnap, Brad, Muffins. 

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!