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.

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

Print Friendly, PDF & Email
people found this article helpful. What about you?

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x