Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started