Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The area of a trapezium can be calculated according to the following shape. Write a program in C programming language to calculate the areas

The area of a trapezium can be calculated according to the following shape. Write a program in C programming language to calculate the areas of a given edge-values of a trapezium. Note that: All necessary values of the trapezium will be entered using the keyboard. After the calculation of the area of a trapezium, the program should go to the top and waits the next values of a new trapezium. Area of a Trapezium Trapezium area can be calculated by using the below formula: Area = (1/2) h (AB+CD) AREA OF TRAPEZIUM FORMULA A Da b b B

Step by Step Solution

3.34 Rating (151 Votes )

There are 3 Steps involved in it

Step: 1

mainc 1 include 2 3 int main 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 float a b ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Matlab An Introduction with Applications

Authors: Amos Gilat

5th edition

1118629868, 978-1118801802, 1118801806, 978-1118629864

More Books

Students also viewed these Programming questions

Question

Describe the graph of a constant function.

Answered: 1 week ago

Question

Again, try to justify your findings.

Answered: 1 week ago

Question

calculate cash flows for each year

Answered: 1 week ago