Answer to Question #315830 in Java | JSP | JSF for Geeee

Question #315830

Write the pseudocode for the following statement:


The program is to input an examination mark and test it for the award of a grade. The


mark is a whole number between 1 and 100.The program will receive the grade from the


user until the number of entered students is equal to 10 and this should now generate a


report for all the grade entered with the award description. Grades are awarded


according to the following criteria:


>= 80 Distinction


>= 60 Merit


>= 40 Pass


< 40 fail

1
Expert's answer
2022-03-22T09:07:22-0400
Start
for i= 1 to 10 do
   Display "Input your examination mark "+i+": "
   Read grade
   if Grade>=80 then
       print "Distinction"
   if 80>=Grade>=60 then
       print "Merit"
   if 60>=Grade>=40 then
       print "Pass"
   if Grade<40
       print "Fail"
   end if
End for
Stop

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
APPROVED BY CLIENTS