Mark wishes to develop a computer program to capture marks for ten students in 3 units i.e. math, chem, comp. The program should prompt for the student name in addition and compute mean for the three units and display them. Develop a pseudocode from the program.
START
Set student =1
For student =1 to 10 Do
PRINT “Enter student name”
INPUT Student name
PRINT “Enter student’s math, chem and comp marks”
INPUT math, chem, comp
Mean = (math +chem+comp)/3
PRINT Student name, math, chem, comp, mean
END FOR
STOP
Start/stop – 1mk
Input/output – 1mk
Looping – 2mks
Logical sequence – 1mk