Question: It outputs 0 How do I make it output correct answer? 1/triangle cout > base; cout > height; Geometry Calculator: 1. Calculate the Area of
1/triangle cout > base; cout > height; Geometry Calculator: 1. Calculate the Area of a Circle 2. Calculate the Area of a Rectangle 3. Calculate the area of a Triangle 4. Quit Enter your choice (1 - 4): 3 Enter the base of triangle: 90 Enter the height of triangle: 80 0 1 areaTriangle = 1/2 * base * height; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
