Put your name, Lab Exercise 3, and compiler and the operating system used in a comment at the top of your program. Email only your source code. Your source code should be sent as an attachment (with the name ex3.cpp). Use "Ex3" as the subject of your email submission
Write a program to calculate the area of a triangle. Use the formula
Area = 1/2 * base * height
Prompt the user for the base and height. Use type double to store the base and height. Use a static_cast to make sure 1/2 does not equal 0. Your output should look something like this:
Enter base and height => 2.3 4.5