Answered step by step
Verified Expert Solution
Link Copied!

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++?

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Third International Conference Achids 2011 Daegu Korea April 2011 Proceedings Part 2 Lnai 6592

Authors: Ngoc Thanh Nguyen ,Chong-Gun Kim ,Adam Janiak

2011th Edition

3642200419, 978-3642200410

More Books

Students also viewed these Databases questions

Question

D How will your group react to this revelation?

Answered: 1 week ago