COP 1000C Lab Assignment 4.pdf 2/2 File Edit Shell Debug Options Windows Help WELCOME TO THE STUDENT SURVEY!! following menu: Please choose from the 1) Enter Student Information Quit 2 ) Enter your choice here 1 Please choose the from the following menu: grade level 1 ) Freshman Sophomore 2) 3) Junior 4. Senior Enter the grade level here: 2 test s Core: Enter the -10 Invalid test Must be between O and 100. SCore Ln: 65 Col: 4 X Tk Python Shell File Edit Shell Debug Options Windows Help Enter the test score: -10 Invalid test score Must be between 0 and 100. Enter the test score: 90 Please choose from the following menu: 1) Enter Student Information 2) Quit Enter your choice here: 3 You must choose 1 or 2 from the menu Invalid selection. Please choose from the following menu: 1) Enter Student Information 2) Quit Enter your choice here: 1 Please choose the grade level from the following menu: 1) Freshman 2) Sophomore 3) Junior 4) Senior Enter the grade level here: 3 Enter the test score: 70 Please choose from the following menu: 1) Enter Student Information 2) Quit Enter your choice here: 2 Good bye. Total number of students entered: Average test score 80.00 + Percents Freshman: 0.00 50.00 Sophomores Juniors 50.00 Seniors: 0.00 Ln: 67 Col: 4
How would i solve this question? I have the sample output but how do I make it?
Write a program in python that uses the following menu to keep track of student information:
1) Enter a student
2) Quit I
f the user chooses 1, prompt the user to enter a grade level (to be chosen from the given menu) and a test score. Keep track of the following:
• Total number of Freshman, Sophomores, Juniors, and Seniors
• Total number of students entered
• Total of all test scores entered When the user chooses to quit, calculate: • The percentage of students that fall into each category
• The average of all the test scores entered Display your results as shown. Input validation:
• The user must choose valid options from the menus.
• The user must enter a test score between 0 and 100.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps