Ahora vamos a crear una variable que almacene el área del triángulo.

  • En , arrastra Integer Variable. Suéltalo en la linea justo DEBAJO triangle_height.
  • Cambia su nombre a triangle_area.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)