Write the pseudocode to represent the following: Input: Input the name, address, and exam percentage of a students. Process: Calculate the total percentage marks of all the students and the class average. Output: For each student, print the name, address, and percentage. When a student name of “ZZZ” is input, print the total percentage marks and the class average

2 answers

sum=0
num = 0
loop
Input the name, address, pct
if name == "ZZZ" then exit loop
num = num + 1
sum = sum + pct
print name,address,pct
end loop
avg = sum/num
print sum,avg

You might want to include a prompt and output labels and formatting.
Input: Input the name, address, and exam percentage of a
students.
Process: Calculate the total percentage marks of all the students
and the class average.
Output: For each student, print the name, address, and
percentage. When a student name of “ZZZ” is input, print the total
percentage marks and the class average.
Similar Questions
  1. [Help me to solve this question]Regarding the following problems, you are asked to make a pseudocode for calculating income tax
    1. answers icon 0 answers
    1. answers icon 1 answer
  2. Does this table of values represent a function? Why or why not?Responses yes, because each input has exactly one output yes,
    1. answers icon 1 answer
  3. Write a function rule for the statement.1. The output is half of the input. 2. The output is three less than the input. 3. The
    1. answers icon 1 answer
more similar questions