10 Jun PMCA Sunday 10:00 Practice -06.
Posted at 02:52h in Uncategorized 0 Comments
A soccer team is looking for girls from ages 10 to 12 to play on their team. Write a program to ask the user’s age and if male or female (using “m” or “f”). Display a message indicating whether the person is eligible to play on the team.
Sample input 1: Gender: f Age: 10 Sample output 1: Welcome to the team
Sample input 2: Gender: m Age: 10 Sample output 2: You can not play
Sorry, the comment form is closed at this time.