You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define a class Date that contains details like year, month and date. Write a C++ program to check the validity of the date that you enter and display the next date. Sample 1 : 02/ 03/ 1990 Valid, Next date: 03/03/1990 Sample 2: 29/02/1989 Not Valid