Question
The following pseudocode algorithm uses a count-controlled loop to read in 8 test scores and store them in the array Scores[].
FOR Count ← 1 TO 8
OUTPUT "Enter a test score"
INPUT Score
Scores[Count] ← Score
NEXT Count
Rewrite the algorithm in python and then pseudocode, using a condition-controlled loop instead of a count-controlled loop.
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
.................................................................................................................................................... [4]
ADD TO YOUR DIGITAL PROGRAMMING JOURNAL - PYTHON AND PSEUDOCODE SOLUTION