Question: Using Time and Date class, complete the following composite class called Event. class Event { public: Event(int hours = 0, int minutes = 0, int

Using Time and Date class, complete the following composite class called Event.

class Event

{

public:

Event(int hours = 0, int minutes = 0, int m = 1, int d = 1, int y = 2000, string name = "Birthday Party");

void setEventData(int hours, int minutes, int m, int d, int y, string name);

void printEventData();

private:

string eventName;

Time eventTime;

Date eventDay;

};

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solution Code and output include include include using namespace std class Date class Time class Dat... View full answer

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 Programming Questions!