Question: Im not sure whats wrong with the code it only shows me months as for days and years it shows me as zero #include using

Im not sure whats wrong with the code it only shows me months as for days and years it shows me as zero

Im not sure whats wrong with the code it only shows me

#include using namespace std; class dates private: //member datas int month; int day; int year; public: //member functions void getDate(); //function to set date #declaration void showDate(); //function to show date #declaration }; void dates::getDate() { //function set date #detination cout >month >>day >>year; void dates :: showDate() { //function show date #definatan cout

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!