167k views
2 votes
A website asks the user to enter his or her date of birth with the month first and then the day of the month. Describe what you could do to prevent problems with the code if a user enters the information in the wrong order by placing the day of the month before the month.

User Debflav
by
3.7k points

1 Answer

2 votes

Answer:

Oh this is quite the good question, you could perhaps add a select or multiple choice box instead, or you could add boxes in the order that you want them to input.

User McRist
by
4.7k points