Skip to content
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

Open
wants to merge 7 commits into
base: cyntia-goulart
Choose a base branch
from
Open

Cyntia goulart #15

wants to merge 7 commits into from

Conversation

cyntiagoulart
Copy link

Exercícios obrigatórios e extras, que valem a presença na aula de sábado.

@@ -0,0 +1,12 @@
'use strict';
Copy link
Collaborator

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) {
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants