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
Get step-by-step solutions from verified subject matter experts
