Write a JavaScript program to register for a badminton tournament depending
on the age of the participants. Accept the year of birth from the user and
categorize the players based on the age criteria. If the year is
2007 - 2009 display the message “Eligible for U15”
2004 - 2006 display the message “Eligible for U17”
2001 - 2003 display the message “Eligible for U19”
for others display the message “Invalid input”
Answers
Answered by
0
Answer:
Write a JavaScript program to register for a badminton tournament depending
on the age of the participants. Accept the year of birth from the user and categorize the players based on the age criteria. If the year is
2007 - 2009 display the message “Eligible for U15”
2004 - 2006 display the message “Eligible for U17”
2001 - 2003 display the message “Eligible for U19”
for others display the message “Invalid input”
Explanation:
Answered by
0
Answer:
Explanation:
that's the correct answer
Similar questions