304,450 views
4 votes
4 votes
B. How would you validate a program asking for someone to provide their birthday?
Afritt

User Chris Wuestefeld
by
2.6k points

1 Answer

20 votes
20 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 Motorhead
by
3.1k points