VergeoPaw

1012

Sep 17th, 2021
582
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. A,B,C = input().split()
  2. pi = 3.14159
  3. D = float(A)
  4. E = float(B)
  5. F = float(C)
  6. Triangle = D*F/2
  7. Circle = pi*F**2
  8. Trapezoid = (D+E)*F/2
  9. Square = E**2
  10. Rectangle = D*E
  11. print("TRIANGULO: %.3f"%Triangle)
  12. print("CIRCULO: %.3f"%Circle)
  13. print("TRAPEZIO: %.3f"%Trapezoid)
  14. print("QUADRADO: %.3f"%Square)
  15. print("RETANGULO: %.3f"%Rectangle)
RAW Paste Data