Algorithm (WAEC / SHS Style)
1. Start
2. Input student name
3. Input student age
4. Input student score
5. Display name and age
6. If score ≥ 80 and score ≤ 100, display Grade A and “Excellent!
Well done.”
7. Else if score ≥ 70, display Grade B and “Very good. Keep it up.”
8. Else if score ≥ 60, display Grade C and “Good effort.”
9. Else if score ≥ 50, display Grade D and “Work harder.”
10. Else if score ≥ 45, display Grade E and “Pass. Improve.”
11. Else if score ≥ 0, display Grade F and “Fail. Try again.”
12. Else display “Invalid score”
13. Stop
Flowchart Explanation (How to Draw It)
When drawing, use these standard symbols:
Oval → Start / Stop
Parallelogram → Input / Output
Diamond → Decision
Rectangle → Process
Flowchart Description
1. Draw an oval and write START
2. Draw a parallelogram: Input name, age, score
3. Draw a rectangle: Display name and age
4. Draw a diamond: Is score ≥ 80?
o Yes → Display Grade A, Well done → STOP
o No → Next decision
5. Diamond: Is score ≥ 70?
o Yes → Display Grade B → STOP
6. Diamond: Is score ≥ 60?
o Yes → Display Grade C → STOP
7. Diamond: Is score ≥ 50?
o Yes → Display Grade D → STOP
8. Diamond: Is score ≥ 45?
o Yes → Display Grade E → STOP
9. Diamond: Is score ≥ 0?
o Yes → Display Grade F → STOP
10. Otherwise → Display Invalid score → STOP
WAEC Examiner Tip 📝
If asked “Explain your flowchart”, write:
The flowchart accepts the student’s name, age, and score, then uses
decision symbols to determine the grade and display appropriate
comments.