C++ Coding HW
Your goal is to write a program to read the input for the base and height of a triangle, calculate the area, and print the base, height, and area of a triangle. (area = 1/2bh)
You should run this program twice. The first run, please use the following values: base = 12, height = 5. For the second run, use the following values: base = 6.2, height = 5.8
Considering the two data types given, what data type would you use in the program for base and height???