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

adicionando os exercicios de 1 ao 8 - Mariana Franca #28

Open
wants to merge 1 commit into
base: mariana-franca
Choose a base branch
from

Conversation

mariana-franca
Copy link

No description provided.

@mariana-franca
Copy link
Author

Enviando os codigos dos exercicios de 1 ao 8.


else if (kiloPeixe <= 50) {

console.log ("Houve", excesso-excesso ,"de excesso peso")
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 entendi bem o que vc quis fazer com excesso-excesso
👀


}

else if (kiloPeixe <= 50) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nesse caso, se vc colocar somente um else ele ja vai entrar mesmo assim pq la no if vc condicionou que a multa só será cobrada de valores maiores do que 50. Faz sentido?

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