Question: 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

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!