Professional Documents
Culture Documents
Programming Practical Exercise
Programming Practical Exercise
1. Accept scores of 5 courses for a student and find the average score.
2. Print the grade and unit of a score course
Assuming score 40=0 grade=fail, 41-45= 1 grade= pass, 46-59=2 grade=
average, 60-79=3 grade= good, > 79 = 4 grade= Excellent
3. Display multiplication table 12X12
4. Use a switch statement to show the grading system of scores in WAEC.
Write a program that accepts student biodata: names, ages, sex and addresses. You should
also do the following:
Computation of Cumulative Grade Point Average (CGPA) In order to obtain the Cumulative
Grade Point Average (CGPA) of a student = TWGP/TU