Respuesta :

Answer:

total = 0

for i 1 to 4:

   input grade

   total += grade

end

average = total / 4

if average is greater than 60:

   print("Passing")

else:

   print("Failing")

Explanation:

The above algorithm (pseudocode) is written considering Python language.

Initialize the total as 0

Create a for loop that iterates four times. For each iteration, get a grade froum the user and add it to the total.

When the loop is done, calculate the average, divide total by 4.

Check the average. If it is greater than 60, print "Passing", otherwise print "Failing".