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. h" file has started the definition offa Date class. It contains only one object-level data member, days, that stores the number of days that have passed since the beginning of the year. That is,0 refers to January 1,1 refers to January 2, and so on. The default constructor has been implemented to set the days_data member to 0, representing January
class Date {
private:
unsigned days_;
public:
Date();
1.
};
You are to add a class-level constant array of 12 elements where each element holds the number of total days in the corresponding month. You may assume February has 28 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 dd;
cout d endl;
Here's its expected output:
 In this mini project, you are asked to process different types

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!