0% found this document useful (0 votes)
16 views2 pages

Algorithm

The document describes an algorithm, pseudocode, and flowchart for calculating a student's average grade from four quarters and determining the corresponding performance level based on the average.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Algorithm

The document describes an algorithm, pseudocode, and flowchart for calculating a student's average grade from four quarters and determining the corresponding performance level based on the average.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

ALGORITHM:

1. Start.
2. Enter four quarter grades.
3. Compute the average of the four grades.
4. If the average grade is greater than 90, display "Outstanding".
5. If the average grade is greater than 80, display "Satisfactory".
6. If the average grade is greater than 70, display "Needs Improvement".
7. If the average grade is less than 70, display "Failed".
8. Stop.
PSEUDOCODE:
1. Start.
2. Enter four quarter grades.
3. Compute the average of the four grades.
4. If the average grade is greater than 90, display "Outstanding".
5. Else if the average grade is greater than 80, display "Satisfactory".
6. Else if the average grade is greater than 70, display "Needs Improvement".
7. Else if the average grade is less than 70, display "Failed".
8. Stop.
FLOWCHART:
START
INPUT four quarter grades
COMPUTE the average of the four grades
IF the average grade is greater than 90
DISPLAY "Outstanding"
ELSE IF the average grade is greater than 80
DISPLAY "Satisfactory"
ELSE IF the average grade is greater than 70
DISPLAY "Needs Improvement"
ELSE IF the average grade is less than 70
DISPLAY "Failed"
STOP

You might also like