C++ program to check given date is in valid format or not
As we know that now a days, there are lot of applications are used on the basis of date calculation so that sometime we need to perform operation on date and need check given date is in valid format or not.
In this program, we will validate the date whether it is in correct format or not.
Consider the program:
Output
This program can be used for date validation - to validate number of days in a month, number of months in a year.
need an explanation for this answer? contact us directly to get an explanation for this answer