GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 7 von 16 · Medien

Assign Grade exercise

Kostas Diakogiannis

Assign Grade exercise

F-3 Assign Grade

Write a function that accepts a number from 1 to 100 as a result of a test you gave to your students.

If the result is lower than 50 then print Not Pass! Try again next time.

If it is between 50-60 print the grade D.

If it is between 61-80 print the grade C

If it is between 81-90 print the grade B

If it is between 91-98 print the grade A

If it is 99 print 'Almost perfect'

If it is 100 'Take a day-off tomorrow'

Put different values and call the function multiple times to check your result.

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck