test.lua 173 B

123456789101112131415
  1. $debug
  2. function somaP (x1,y1,x2,y2)
  3. return x1+x2, y1+y2
  4. end
  5. function norma (x,y)
  6. return x*x+y*y
  7. end
  8. function retorno_multiplo ()
  9. print (norma(somaP(2,3,4,5)))
  10. end