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

It outputs 0
How do I make it output correct answer?
It outputs 0 How do I make it output correct answer? 1/triangle

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!