C++ A local hardware store rents tools and outdoor equipment. Design a class called rentalItem that stores the data about an item. The following information should be tracked: item id, a short description, cost per day of rental, availability, and renter id (the renter id will only be used if the item is checked out). Include appropriate constructors, mutators, and accessors. Overload the ==, <, and > operators to compare the itemid of one record to another. Write a program that reads inventory items from a file into a vector. Once you have designed your class, implement a vector that will contain current rentals. Implement a menu system that implements options to check out an item, return an item, and print a complete list of items including their current checked-in/checked-out status. The printed list should be displayed in order of id num
C++
A local hardware store rents tools and outdoor equipment. Design a class called rentalItem that stores the
data about an item. The following information should be tracked: item id, a short description, cost per day of
rental, availability, and renter id (the renter id will only be used if the item is checked out). Include appropriate
constructors, mutators, and accessors. Overload the ==, <, and > operators to compare the itemid of one
record to another.
Write a program that reads inventory items from a file into a
implement a vector that will contain current rentals.
Implement a menu system that implements options to check out an item, return an item, and print a complete
list of items including their current checked-in/checked-out status. The printed list should be displayed in order
of id number.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps