Question: Write pseudocode for a program that reads a student record, consisting of the students first and last name, followed by a sequence of test scores

Write pseudocode for a program that reads a student record, consisting of the student’s first and last name, followed by a sequence of test scores and a sentinel of –1. The program should print the student’s average score. Then provide a trace table for this sample input: Harry Morgan 94 71 86 95 -1

Step by Step Solution

3.53 Rating (170 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Initialize current name to something other than 1 current name read name from input into current ... 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!