// Calculates the area of a triangle
// given an input of the triangle base and height.
#include <iostream>

int main()
{
  float base, height, area;
  std::cout << "Enter the base and height of the triangle: ";
  std::cin >> base >> height;
  area = 0.5*base*height;
  std::cout << "The area of the triangle is " << area << std::endl;
}
