You are on page 1of 1

Write a pseudocode algorithm that prompts the user to enter 2 grades for a student.

It should calculate the student average and print the average.


It should also determine which grade is the highest.

START

PRINT "ENTER A GRADE FOR BIOLOGY"

READ BIOGRADE

PRINT "ENTER A GRADE FOR EDPM"

READ EDPMGRADE

AVERAGE=BIOGRADE+EDPMGRADE/2

PRINT "THE AVERAGE FOR THE STUDENT IS",AVERAGE

IF BIOGRADE>EDPMGRADE

PRINT "THE HIGHEST GRADE IS BIOLOGY", BIOGRADE

ELSE

PRINT "THE HIGHEST GRADE IS EDPM", EDPMGRADE

STOP

You might also like