The information starts with the dog's 4-digit ID number and then a dash.
Then there is a series of 4 ones and zeros.
Then there is another dash followed by the dog's address.
1
Write a program that will run as follows.
The list of dogs in the database is displayed. The vet is then prompted by the following options:
After choosing an option, the data is processed and the menu option appears again, unless 0 is selected.
Make sure you validate the user entry. Only numbers in the range 0-8 are valid.
Make sure you validate any new dog info if the user selects 8 eg
123-1111-6EdgewareRoad will be rejected.
Your code should work for any list of dogs. Use any test data to test your program.
Your solution must be modular in design.
The dog database can be a data structure of your choice, or a file.