1. The program should start and ask the user what to do. E.g. enter students’ marks or end program.
2. If the user selects to enter students’ marks, then the program can start taking input (Students’ name and exam marks) and store in the program.
3. If the user finishes with the data entry, the program will show numbers of data that had been entered.
4. Next, the program will ask user what to do next.
5. One option, user can choose the program to display the students’ list alphabetically.
6. Another option, the user can choose so that the program calculates the grade for each of the students’ marks and display the list from highest to lowest.
7. Thirdly, the program can display the number of student according to the grade e.g.
Grade A – 10 students
Grade B – 3 students
Grade C – 7 students
Grade F (Fail) – 0 students
8. Finally, the program can choose to close or continue.
Comments
Leave a comment