Exercise 01
Exercise 01
Write an Algorithm and draw a Flowchart for a system that calculates the average score of a
student and determines their grade based on the following criteria:
1. The system asks the user how many subjects they have. (e.g., 4 or 5).
2. Using a loop, the system prompts the user to enter the score for each subject, one by one.
3. After collecting all scores, the system calculates the average score.
4. Based on the average score, the system should assign a grade:
• 80–100: Grade A
• 65–79: Grade B
• 50–64: Grade C
• 40–49: Grade D
• Below 40: Grade F
5. The system then displays the average score and the grade.
6. After displaying the result, the system should ask the user if they want to enter another set of
scores for a different student.
• If yes, repeat the entire process
• If no: end the program
Instruction:
1. This work has to be done individually, and your work has to be done clearly.
2. Write and draw your algorithm in any digital platform of your choice, and submit your
presentation document in PDF format. N.B. not PPT
3. Submission date Friday, 25th Apr, 2025, 13:00 – 14:00 (Strictly). Failing to do so may result
in penalization.