202k views
0 votes
B. How would you validate a program asking for someone to provide their birthday?
Afritt

User Pavlina
by
7.0k points

1 Answer

5 votes

Answer:

Accept input from the user, split the data into the day, month, year, and store it to a new variable, use datetime validation to check whether it is valid or not, and then print whether it is valid or not.

Step-by-step explanation:

User Vivelin
by
7.1k points