Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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?
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

How to reverse a Armstrong number by using double linked list ?

Answered: 1 week ago