"""
File: triangle.py
Project 2.3
Computes and prints the area of a triangle, given an
input base and height.
"""

base = float(input("Enter the base: "))
height = float(input("Enter the height: "))
area = .5 * base * height
print("The area is", area, "square units.")

