Write a program that calculates the area of a triangle.
The formula for the area of a triangle is:
\[\text{Area} = \frac{\text{base} \times \text{height}}{2}\]The program should prompt for:
Enter the base in cm: Enter the height in cm: Both values are entered as decimals (floats).
The area of the triangle is area cm²
Input:
10.0
5.0
Output:
The area of the triangle is 25.0 cm²