Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a C++ program that uses a function named find_area() that finds the area of a trapezoid. The function should accept the lengths of each

write a C++ program that uses a function named find_area() that finds the area of a trapezoid. The function should accept the lengths of each of the two bases of the trapezoid as well as the altitude of the trapezoid (as float data type) and return the area of the trapezoid as a float. Use this function in a C++ program which prompts the user for these values, calls your function, and then displays the returned value for the area on the screen.

(Please pay close attention to float and find_area() named function.)

Thank you so much!

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

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions