Guest User

Untitled

a guest
May 20th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. /*clase que calcula el area de un triángulo
  2. * CONSTRUCTOR: double base, double altura
  3. * CONSTRUCTOR: sin parámetros
  4. * MÉTODOS: double getArea() devuelve el area del triángulo
  5. * void setBase(double base) asigna un valor a la base del triángulo
  6. * void setAltura(double altura) asigna valor a la altura del triángulo
  7. */
Add Comment
Please, Sign In to add comment