A Pen by José Antônio Gomes on CodePen.
Created
October 25, 2025 00:55
-
-
Save jose35info/61199bb043066c21e40c49552332fb9a to your computer and use it in GitHub Desktop.
resoluçao do problema "Consumo"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let nota1= parseFloat(prompt("Digite a primeira nota")); | |
| let nota2= parseFloat(prompt("Digite a segunda nota")); | |
| let soma= (nota1+nota2)/2; | |
| if(soma>= 0 && soma <= 6 ){ | |
| alert(`REPROVADO!! NOTA ${soma}`); | |
| }else{ | |
| alert(`APROVADO!! NOTA${soma}`); | |
| } | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Verificar se aluno esta APROVADO OU REPROVADO