Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 userStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started