O GoConqr está de visual novo! Conte para nós o que você achou.

Módulo 7 de 16 · Mídia

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.

Instruções

Para avançar no curso, envie uma tentativa deste quiz. Você pode enviá-la depois da última pergunta.

Ir para o módulo escolhido

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?