Advertisement
Guest User

4_36

a guest
Sep 11th, 2018
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. algoritmo "semnome"
  2. var
  3.    f:real
  4.    x, y, z, t:inteiro
  5. inicio
  6.       t <- 1
  7.       x <- 1
  8.       y <- 6
  9.       z <- 3
  10.       enquanto (x <= 100) faca
  11.                enquanto (y <= 30) faca
  12.                         enquanto (z <= 15) faca
  13.                         f <- (x*x)+(y*y)+(z*z)
  14.                         f <- f/(exp(x, 4)*exp(y, 4)*exp(z, 4))
  15.                         escreval(f)
  16.                         z <- z + 2
  17.                         fimenquanto
  18.                         y <- y + 3
  19.                fimenquanto
  20.       t <- t + 1
  21.       x <- t * t
  22.       fimenquanto
  23. fimalgoritmo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement