-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cyntia goulart #15
base: cyntia-goulart
Are you sure you want to change the base?
Cyntia goulart #15
Conversation
@@ -0,0 +1,12 @@ | |||
'use strict'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vc não precisa usar o 'use strict' aqui, mas adoraria entender porque vc quis usa-lo :)
} else if (media >= 5 && media < 7) { | ||
let recuperacao = `Você Sua média é ${media} e você está em recuperação. Estude mais!`; | ||
console.log(recuperacao); | ||
} else if (media >= 7) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Não está errado, mas se vc começar perguntando se a média é maior que sete, vc nao precisa especificar todas as condições com else if
.
Tentar simplificar pode te ajudar em escrever menos código.
Exercícios obrigatórios e extras, que valem a presença na aula de sábado.