





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















A Flowchart
PRINT “PASS” Step 1 : Input M 1 ,M 2 ,M 3 ,M 4 Step 2 : GRADE (M 1 +M 2 +M 3 +M 4 )/ 4 Step 3 : if (GRADE < 50 ) then Print “FAIL” else Print “PASS” endif START Input M 1 ,M 2 ,M 3 ,M 4 GRADE (M 1 +M 2 +M 3 +M 4 )/ 4 IS GRADE< 5 0 PRINT “FAIL” STOP N Y
Algorithm
Pseudocode :
is A>B Print A Print B Y N