Student Test Scores
- We want to create a system where it can allow users to keep track of student test scores. The system will allow the user to enter as many test scores as he/she likes until he/she enters “exit”. Here you need to use List, getting input from the shell, while loop, and for loop.
This is how the behavior of the program supposed to be
STUDENT TEST SCORE SYSTEM Enter test_score (enter 'exit' to stop): 100 Enter test_score (enter 'exit' to stop): 50 Enter test_score (enter 'exit' to stop): 70 Enter test_score (enter 'exit' to stop): exit You have entered 3 test scores: 1. 100 2. 50 3. 70 Thank you for using STUDENT TEST SYSTEM
2. Once you are done with the above, see if you can make the below bonus point. After user enters “exit” and the system lists all the scores, we also want to display the average test score.
STUDENT TEST SCORE SYSTEM Enter test_score (enter 'exit' to stop): 100 Enter test_score (enter 'exit' to stop): 40 Enter test_score (enter 'exit' to stop): 70 Enter test_score (enter 'exit' to stop): 60 Enter test_score (enter 'exit' to stop): exit You have entered 4 test scores: 1. 100 2. 40 3. 70 4. 60 The average of these test scores are 67.5 Thank you for using STUDENT TEST SYSTEM