Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <iostream>
- #include <string>
- using namespace std;
- class birthday {
- public:
- void setMonth(string m);
- void setDay(int d);
- void setYear(int y);
- string getMonth();
- int getDay();
- int getYear();
- void convertBirthday();
- //constructor
- birthday(string m = 0, int d = 0, int y = 0);
- private:
- string month;
- int day;
- int year;
- };
Add Comment
Please, Sign In to add comment