Question: .h .cpp .cpp Output Please help me fix the code expect outpur should be: 12, December, 1212 pragma once #include(iostream> #include(string) using namespace std; 4

.h .h .cpp .cpp Output Please help me fix the code expect outpur

.cpp

should be: 12, December, 1212 pragma once #include(iostream> #include(string) using namespace std;

4 6 class Date { private: int *date; int *month; int year

10 public: 12 13 14 15 16 17 18 19 20 21

Date Date (int d, int m, int y): string set_date (int m);

void check_date (int d, int m, int y; friend ostream& operator

.cpp

image text in transcribed

Output

image text in transcribed

Please help me fix the code

expect outpur should be: 12, December, 1212

pragma once #include(iostream> #include(string) using namespace std; 4 6 class Date { private: int *date; int *month; int year 10 public: 12 13 14 15 16 17 18 19 20 21 Date Date (int d, int m, int y): string set_date (int m); void check_date (int d, int m, int y; friend ostream& operator

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!