Answer to Question #188940 in C++ for Dunga

Question #188940
  1. Create a class named DogCare. Include fields for a dog’s data (using Dog class from question 1), the date (using Date class from question 4), the time (using Time class from question 3) and the duration of the appointment in minutes. Also include a field that contains the ending time of the appointment; this field will be calculated based on the start and the duration using Time class function that adds minutes to a Time object. The DogCare constructor requires dog name, a month, day, year, hour and minute for the appointment. Allow DogCare to be constructed with or without an additional argument for appointment duration, and force the duration to 30 minutes when no argument is supplied. The constructor does not allow any appointment over 240 minutes. The constructor calculates the appointment ending time based on the start time and the duration. Also include a display function for the DogCare class. Write a main() function that loops at least 5 times, prompting the user for DogCare data and displaying all the info
1
Expert's answer
2021-05-07T17:26:16-0400
Dear Dunga, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS