Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a function to validate the date input. N/N/NN to NN/NN/NNNN are allowed. Year has to be 2 digits or 4 digits. Month should be

Write a function to validate the date input.

N/N/NN to NN/NN/NNNN are allowed. Year has to be 2 digits or 4 digits.

Month should be 1 to 12.

Day should be 1 to 28/30/31 depending on the month.

Dont worry about the leap years.

Each character should be a digit or / No other characters are allowed.

IN C++ PLEASE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

5. If yes, then why?

Answered: 1 week ago

Question

6. How would you design your ideal position?

Answered: 1 week ago