Computers and Technology, 12.12.2020 16:30 jillian0013
Write a program that asks the user to input ages of students attempting to register for an online class, one at a time. After each entry, the program should display “Pre-teen”, “Teenager”, “Adult”, or “Too young to register”. The minimum age required to register is 10. When the user wants to stop entering ages s/he will enter -1. Upon doing so, the number of “Pre-teen”, “Teenager” and “Adult” students should be displayed. Also, display the average age of the registered students.
# Example
Please enter your age: 19
Teenager
Please enter your age: 27
Adult
Please enter your age: 23
Adult
Please enter your age: 8
Too young to register
Please enter your age: 12
Pre-teen
Please enter your age: -1
Pre-teen(s): 1
Teenager(s): 1
Adult(s): 2
Average age: 20.25
please help i need this done by tonight and it needs to be written in python.
Answers: 2
Computers and Technology, 23.06.2019 00:00, brooklyn4932
What engine component is shown in the above figure?
Answers: 1
Computers and Technology, 24.06.2019 02:40, homework1911
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
Write a program that asks the user to input ages of students attempting to register for an online cl...
Biology, 28.07.2019 04:00
Mathematics, 28.07.2019 04:00
Mathematics, 28.07.2019 04:00
Mathematics, 28.07.2019 04:00
Mathematics, 28.07.2019 04:00