IN JAVA CODE:
It’s time for the annual city Sportsfest. All individuals young
and old may join but it wouldn’t be fair to match a young player
against an older one. So to keep the event fun, we decided to hold
separate tournaments for different age groups. The categories
are:
Let’s try to do this as quick as possible by using the power of
technology and programming!
Input
1. The age
Constraints
The value of the age is within the range: 0 <= age <=
99
Output
The first line will contain a message prompt to input the age.
The second line will contain the name of the age group depending on
the age.
IN JAVA CODE: It’s time for the annual city Sportsfest. All individuals young and old may join but it wouldn’t be fair t
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
IN JAVA CODE: It’s time for the annual city Sportsfest. All individuals young and old may join but it wouldn’t be fair t
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!