Professional Documents
Culture Documents
Second Term Summative Work
Second Term Summative Work
Write an algorithm to determine what are the student’s grades calculating the average
of four marks and indicate if they have passed or failed. The final grade is calculated as
the average of four marks.
start
If yes If not
pass fail
stop
Write the program code
avg=(grade1+grade2+grade3+grade4)/4
if (avg>=9):
if else:
print(“The student fails”)