Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Mr. Lincoln is the registrar for the Ravenwood School of Magical Arts. Mr. Lincoln is responsible for new wizard registration, enrollment, graduation, and enlisting students
Mr. Lincoln is the registrar for the Ravenwood School of Magical Arts. Mr. Lincoln is responsible for new wizard registration, enrollment, graduation, and enlisting students to compete in the Spiral Cup Tournament. As the Spiral Cup Tournament in the world of Wysteria is approaching, You have been selected as the programmer to help expedite the process of processing information of the 1000's of wizards competing in the tournament! Create a class, named Wizard, representing the wizard's details of their: Age First Name Last Name Ravenwood School ID Number and store the data of the wizard. Create set and get functions for each element: in th DROIT element; i.e. the class should contain at least the following functions: set_wizardAge, get_wizardAge set_wizardFirstName, get_wizardFirstName set_wizardLastName, get_wizardLastName set_wizard_ID, get_wizard_ID Note: you can observe these functions are being called in the main() by the wiz object. Input Format There will be 4 inputs: The 1st line will be an int age of the wizard. The 2nd line will be a string first name of the wizard. The 3rd line will be a string last name of the wizard. The 4th line will be an int ID of the wizard. Output Format > Co Sta
Step 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