Compute the Area of a Trapezoid in C

# Introduction In this lab, you will learn how to compute the area of a trapezoid using C programming. The lab covers the steps to read the two parallel sides and height of a trapezoid, and then calculate its area using the formula: Area = 0.5 _ (a+b) _ h. The program prompts the user to input the necessary values, and then computes and displays the area of the trapezoid.

|
60 : 00

Click the virtual machine below to start practicing