The purpose of this first assignment is to give you experience with if and while constructs in Pep/9. Input: the scores a student achieves on each of 10 assignments.
Each score is in the range 0..100. The student passes the course if The average of the 10 scores is > 50 Or the average of the 9 highest scores is >55 Or the average of the 8 highest scores is > 60
Write a Pep/9 program that inputs the scores and outputs a message indicating whether the students passed. Note that it is not necessary to use arrays to solve this problem.
Scores Result
60 60 60 0 60 60 0 60 60 60 Fail
50 50 50 50 50 50 50 50 50 50 Fail
60 60 60 0 61 60 0 60 60 60 Pass
60 60 60 0 65 60 10 60 60 60 Pass
50 50 51 50 50 50 50 50 50 50 Pass