Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Must be written in C++, ideally with lots of comments. Thanks! Requirements This program contains two parts: Part 1 - perform the steps in Part

image text in transcribedMust be written in C++, ideally with lots of comments. Thanks!

Requirements This program contains two parts: Part 1 - perform the steps in Part 1 using a two-dimensional Class Template array. Part 2 - perform the steps in Part 2 using two parallel Class Template vectors. 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. Part 2 - Use data entry questions analogous to those used for Part 1 but to get different data from your user. Use two parallel Class Template vectors to record the names of the Seven Kingdoms and the sizes of their armies. After data entry, use the vectors 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_2

Step: 3

blur-text-image_3

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

Essential Data Protection For Estate Agencies In Singapore 2024

Authors: Yang Yen Thaw Yt

1st Edition

B0CQK79WD3, 979-8872095392

More Books

Students also viewed these Databases questions