Question: In this mini project, you are asked to process different types of reservations and determine the cost of each. The starter project contains multiple files.
In this mini project, you are asked to process different types of reservations and determine the cost of each. The starter project contains multiple files.
The Date Class
The "Date. file has started the definition offa Date class. It contains only one objectlevel data member, days, that stores the number of days that have passed since the beginning of the year. That is refers to January refers to January and so on The default constructor has been implemented to set the daysdata member to representing January
class Date
private:
unsigned days;
public:
Date;
;
You are to add a classlevel constant array of elements where each element holds the number of total days in the corresponding month. You may assume February has days.
In addition, add the prototypes of the following functions to the "Date.h file, implement them in the "Date.cpp file, and demonstrate thorough testing in the "main.cpp file. It's important that you ensure the Date class has been properly implemented and tested BEFORE working on the different Reservation classes.
The overloaded ;
cout endl;
Here's its expected output:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
