Thursday, May 10, 2012

Expression Evaluation: Area of a Trapezium

 Hello Friends!!! How are you? Hope, you all are well by the grace of Almighty ALLAH. Today, we learn how to find out the area of a Trapezium.

Generally we know that, the area of a Trapezium = (Half the sum of parallel sides) x (Perpendicular Distance between the parallel side). Now, we can write a C programming code using this formula.Let's look at the program:

In this program the ASCII character of 1/2 is used and it's ASCII value is 171.

Thank you all..:)


Post a Comment