#  This program calculates the area of a triangle

base = int(input("Length of base:"))  # Declares the variable base
height = int(input("Height of triangle:"))  # Declares the variable height

area = (base * height) / 2

print("The area of the triangle is", area, "cm^2.")
