Question: Write a C++ program that calculates the value of base b of a Trapezoid. The main function asks the user to input the value of
Write a C++ program that calculates the value of base b of a Trapezoid. The main function asks the user to input the value of base1 (i.e, a), side1 (i.e., c), side2 (i.e., d) and perimeter (i.e., p) of the Trapezoid. Then the main function calls another function to calculate the value of base b of that Trapezoid. Finally, the main function displays the final result. Recall that : b= P a c d
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
