Answered step by step
Verified Expert Solution
Question
1 Approved Answer
WRITE CODE IN C++ LANGUAGE Q.No 01: Make a class Game it has attributes (game name game id Price). Marks 5 Game Game name Game
WRITE CODE IN C++ LANGUAGE
Q.No 01: Make a class Game it has attributes (game name game id Price). Marks 5 Game Game name Game id Price Savegame Deletegame Searchgamel Updategame: check user age0 Savegame Using file handling save the fame record in a text file. Deletegame Delete the records from file by specifying the game name. Updategamel; Update the game record by specifying the game name. Searchgame If the user enter the game name, the code should search the game from the text file. check user age() Code the one function check uselage if the input value is less than 18 then raise an exception using exception handling that user can not play game because the age of the user's age is less than 18Step 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