Created
March 21, 2017 17:57
-
-
Save falcettijr/afdfb75b3658d3332f267cee1a487041 to your computer and use it in GitHub Desktop.
Algoritmo média com se e senão
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
Algoritmo média com se e senão | |
var | |
nota1, nota2, media : real | |
inicio | |
escreva("Digite a primeira nota") | |
leia(nota1) | |
escreva("Digite a segunda nota") | |
leia(nota2) | |
media <-(nota1+nota2) / 2 | |
Se media >= 7 | |
então | |
escreva("Aprovado!") | |
senão | |
escreva("Reprovado!") | |
fim se | |
fim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment