Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Plzzz do fast ((C++)) Create a time class. Caution do not call it time. The time class can create a time object that has hours

Plzzz do fast

image text in transcribed

((C++)) Create a time class. Caution do not call it time. The time class can create a time object that has hours and minutes. Appropriate constructors including the default constructor). Getters and setters. (Mutators and Accessors ) This time class is being used in a tool rental shop. The user program will allow the user to input the tool name, the time it is checked out and then when it is returned the time-in. Use the time objects to hold the two times. You also need to have a subtract method so you can show how many hours and minutes the tool was out. You do not need to worry about overnight time amounts. Turn in the class.h, class.cpp files along with the mainLine code that uses this Sample Output Demo of Time Keeping Application Enter name of rental product (enter quit to exit):Power Washer 2000 PSI, Nozzles: wide and Pin Point Enter the time of check-out (hh:mm ) or (h m) 9 22 Enter the time of check-in (hh:mm ) or (hm) 16:27 Single line of rental invoice using 24 hour clock: Power Washer 2000 PSI, Nozzle s: wide and Pin Point 09:22 16:27 07:05 Single line of rental invoice using AM/PM clock: Power Washer 2000 PSI, Nozzle s: wide and Pin Point 09:22 AM 4:27 PM 07:05

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions