Question: Please code in C++. Will upvote! Synopsis: You are a wizard living in a magical world called Wizard City. In Wizard City, you use mounts

 Please code in C++. Will upvote! Synopsis: You are a wizard

living in a magical world called Wizard City. In Wizard City, you

Please code in C++. Will upvote!

Synopsis: You are a wizard living in a magical world called Wizard City. In Wizard City, you use mounts to travel from one area to another, and one such mount is your awesome dragon! Unfortunately, You have to replace your dragon mount at a certain age because if you don't, it'll turn into a dark dragon and no longer become friendlyl * Y ikes * You were taught at your Ravenwood Academy school how to convert your dragon mount's age into wizard years: - The 1st 2 years of a dragon's life = 21 wizard years. - Each following year counts as 4 wizard years. For example: - A 1 year old dragon mount =10.5 years old in wizard years. - A 2 year old dragon mount = 21 years old in wizard years. To-Do: Write a C++program that prints the name and age, in wizard years, of any dragon mount older than 2 years. Sample Input/output: Input To-Do: Write a C++ program that prints the name and age, in wizard years, of any dragon mount older than 2 years. Sample inputloutput: Input Output The dragon named Kaido is 220.2 years old in wizard years. Where Kaido is a sample dragon name, and 220.2 is the calculated age in wizard years. Note: Make sure your output contains the right spaces, upperilowercase characters, as well as punctuation. Otherwise, the Test Cases may not match and therefore won't passi I have highlighted the output that's required in the sample output image above. Note2: Your program may fail the Test Cases if you include PROMPT statements such as something like; cout "What is your dragon name?"; cout "How old is your dragon?"; While this is a nice way to prompt the user for input, unfortunately, OnlineGDB is not a human and therefore won't be able to distinguish the correct output from the incorrect output. If something doesn't match, it will immediately count the Test Case as failed. So for the sake of this assignment, please don't include such prompt statements in this program! Topics that will help you towards forming. your solution: - C++ Syntax/Semantics - C++ Input/Output - C++ Variables and Identifiers - Ci+ Datatypos - C++ Operators - C++ String

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!