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

Manoela silva #19

Open
wants to merge 3 commits into
base: manoela-silva
Choose a base branch
from

Conversation

Palinha07
Copy link

upando os exercícios (obrigatórios e extras) da semana 2

else if(resultado <5){
console.log("reprovado(a)")
}
else if(resultado =5 <=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 se esqueça que pra fazer comparações vc precisa usar === ou ==. Se for o caso de usar junto o operador de maior ou menor usa-se apenas =, mas precisa encadear com o operador lógico
Neste caso ficaria assim:

else if(resultado >=5 && resultado <7 ){

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