The name of this program will be LastProgram6. This program will be a Doggy Day Care. The menu should be 1. Check in Dog 2. Check Out Dog 3. Exit If the user selects option 1 (Check in Dog), the...


For this program i have done all part except last part which is #3 Exit. Would you please focus that part and give me the all answer?


The name of this program will be LastProgram6.<br>This program will be a Doggy Day Care. The menu should be<br>1. Check in Dog<br>2. Check Out Dog<br>3. Exit<br>If the user selects option 1 (Check in Dog), the program will take in all of the information for the dog and<br>create a dog object (which will be stored in the array). All relevant input validation should be done for<br>the information entered. Once the dog object is created, the program should tell the user how much it<br>will be for the dog for the day. The Doggy Daycare can only contain up to 30 dogs. Before a new dog<br>object is created, the program should check that the number of current dog objects is less than 30 (Hint:<br>using the static field). If there are already 30 dogs, then if the user selects option 1, it should say

Extracted text: The name of this program will be LastProgram6. This program will be a Doggy Day Care. The menu should be 1. Check in Dog 2. Check Out Dog 3. Exit If the user selects option 1 (Check in Dog), the program will take in all of the information for the dog and create a dog object (which will be stored in the array). All relevant input validation should be done for the information entered. Once the dog object is created, the program should tell the user how much it will be for the dog for the day. The Doggy Daycare can only contain up to 30 dogs. Before a new dog object is created, the program should check that the number of current dog objects is less than 30 (Hint: using the static field). If there are already 30 dogs, then if the user selects option 1, it should say "Sorry, the Doggy Day Care is at capacity". If the user selects option 2, it will ask for the owner's name. It will search the array for that name and return the names of the dogs that the owner has checked in. This will check out those dogs (i.e. remove them from the array). Figure out how to deal with the holes this will create in the array. When the user selects option 3, the program should write all the information for any dogs left in the array to a file named "YesterdaysLatePickups.txt". Bonus if you can replace Yesterday with the actual date.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here