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