Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please assist by showing how to do it in c++ codes, not repeating instructions shown here Requirements This program contains two parts: Part 1 -
Please assist by showing how to do it in c++ codes, not repeating instructions shown here
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 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