Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Pet Rescue has decided they just want a simple file based program instead of a database. Write a menu based program for the pet rescue.
Pet Rescue has decided they just want a simple file based program instead of a database. Write a menu based program for the pet rescue. There should be 2 menu options Add a pet View pets If the user chooses option 1, you will open a data file for writing without erasing the current contents, and write a new pet record to it. The file can be formatted any way that you choose but should include the pet's name, species, breed, and color. You my also include any additional information you think is appropriate. If the user chooses option 2, you will open your data file for reading and print the information all the pets to the screen. Once you have completed the actions of the chosen option, return to the main menu and ask if the user would like to quit or perform another task. In addition to the header documentation provided above, make sure to provide documentation in your code in the form of inline comments. After creating your program answer the following questions in a word document. Does your program solve the problems identified in M01 Lab Assignment
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