Answer to Question #278961 in Java | JSP | JSF for Letso

Question #278961

Draw a flowchart and write pseudo code for a program that will accept marks for 10 students who sat for a java examination. Total mark for the examination is 80. Determine if the mark is a pass or a fail. This process should be done until all students marks have been captured.. [20 Marks]



Marking Key:


-Correct flowchart symbols – 4 marks


-Correct flowchart logic – 6 marks


-Correct syntax of the pseudocode– 4 marks


-Correct pseudocode logic – 4 marks



1
Expert's answer
2021-12-13T04:25:45-0500
Declare Integer mark
Declare Integer i


For i = 0 To 9
    Set mark = 100
    While mark > 80
        Display "Enter the mark for the student ", i + 1
        Input mark
    End While
    If mark == 80 Then
        Display "The mark is a pass"
    Else
        Display "The mark is a fail."
    End If
End For



flowchart 






Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog