Question: How do you use 2D array for this in c++? Part 1 - Ask your user to enter names of Game of Thrones characters followed
How do you use 2D array for this in c++?

Part 1 - Ask your user to enter names of Game of Thrones characters followed by the names of dragons they own. Use the steps shown. Character \& Dragon data entry: Would you like to enter a character? (y) Enter the the character name: How many dragons would you like to enter for the character? Enter the name of the dragon 1 : Enter the name of the dragon 2: (etc) Would you like to enter another character? (y) (if y, rerun inner loop) Use nested loops. The outer loop should obtain the name of the character from your user. The inner loop should record dragon names. Use a two-dimensional Class Template array to record the characters and dragons. After data entry, use the array to output the data entered by your user
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
