Can someone try write this program simply and then comment it for me, I'd really appreciate it thanks... Okay here it is
Overview: A science teacher would like to have a program developed that can record his student's test results out of 74 questions. He would then like these scores converted to a percentage and shown the average, minimum, maximum, number of scores recorded and the total of the scores from his class displayed back to him.
Task: The program must allow for the teacher to enter a predetermined number of scores (e.g 10 exam scores) or even better, to keep allowing them to enter in scores until they're finished. Needs to convert these scores to a percentage then store these in a list or array. e.g. if the user enters the raw scores 15, 50, 70, 25, the program will convert and store these as percentages as 20%, 68%, 95%, 34% respectively (e.g test is out of 74). It will then return the average of 54%, maximum 95%, minimum 20%, number of entries 4 and the sum is 216%.
Thank you
Aucun commentaire:
Enregistrer un commentaire