Correct the following code (and the function definition) so…

Correct the following code (and the function definition) so that it calls a function named calculateAreaTriangle and returns the correct area value (remember the area is one half the base times the height of the triangle): int Main(){ double area, base, height;cout>”Enter the base: “cin>”Enter the height: “;cin