Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Algoritmo "Desenhe a porta"
- Var
- linha: inteiro
- frase: caractere
- Inicio
- para linha de 1 ate 10 faca
- se ( (linha = 1) ou (linha = 10) ) entao
- frase <- "##########"
- senao
- se (linha = 5) entao
- frase <- "# -0 #"
- senao
- frase <- "# #"
- fimse
- fimse
- escreval(frase)
- fimpara
- Fimalgoritmo
Add Comment
Please, Sign In to add comment