B Control structures required
1 An array to store the exam scores -the is,’scores’.
2 An index to identify each element in the array.
3 A DO loop to accept the scores.
4 Another DO loop to display the scores to the screen.
C Solution algorithm
Process exam scores
Set total score to zero
DO index =1 to 18
Prompt operator for score
Get scores(index) total score
tota score scores(index)
ENDDO
Compute average score total, score 18
DO index =1 to 18
Display scores (index)
ENDDO
Display average score
END