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

Question #279169

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..




Total mark is 80



10 students

1
Expert's answer
2021-12-13T08:34:46-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