Created
April 2, 2015 11:37
-
-
Save danilodorgam/dbc24b8d5b0f47e3c67c to your computer and use it in GitHub Desktop.
This file contains 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
if(nota[1] != undefined){ | |
if(repet == 1){ | |
soma=nota[1]*qtd; | |
}else{ | |
for(i=1; i<= qtd; i++){ | |
soma += nota[i]; | |
} | |
} | |
media = soma/qtd; | |
frmMedia.txtMedia1.value = "Sua Nota Media R$"+media; | |
if (media <= 1448){ | |
frmMedia.txtMedia.value =aprovado ; | |
}else{ | |
frmMedia.txtMedia.value = negado; | |
} | |
}else{ | |
frmMedia.txtMedia1.value = naoini; | |
frmMedia.txtMedia.value = "Para que o Calculo seja Efetuado, coloque pelo menos uma nota"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment