Advertisement
kalelmvp

Untitled

Nov 5th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. algoritmo "missaoimpossivel01"
  2. var
  3. time: vetor [1..3] de Caractere
  4. z, x:inteiro
  5. inicio
  6. Escreval ("===============================")
  7. Escreval ("CAMPEONATO DE FUTEBOL AMERICANO")
  8. Escreval ("===============================")
  9. Para x <- 1 ate 3 faca
  10. Escreva ("Nome do", x, "o time: ")
  11. Leia (time[x])
  12. FimPara
  13. Escreval ("-----------------")
  14. Escreval ("TABELA DE PARTIDAS")
  15. Escreval ("-----------------")
  16. Para z <- 1 ate 3 faca
  17. Para x <- 1 ate 3 faca
  18. Se (time[z] <> time[x]) Entao
  19. Escreval (time[z]:10, " vs ":7, time[x])
  20. FimSe
  21. FimPara
  22. FimPara
  23. fimalgoritmo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement