Question: Write pseudocode for a program that reads a sequence of student records and prints the total score for each student. Each record has the students

Write pseudocode for a program that reads a sequence of student records and prints the total score for each student. Each record has the student’s first and last name, followed by a sequence of test scores and a sentinel of –1. The sequence is terminated by the word END. Here is a sample sequence: 

Harry Morgan 94 71 86 95 -1
Sally Lin 99 98 100 95 90 -1
END

Provide a trace table for this sample input.

Step by Step Solution

3.33 Rating (171 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem in pseudocode you can follow these steps 1Initialize a string variable called ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Concepts Late Objects Questions!