Jan 30, 2013

Area of Trapezium Program

/*Area of Trapezium Program*/

#include"stdio.h"
#include"conio.h"
void main()
{
clrscr();
float Length,Width,Height,Trapezium_Area;
printf("Enter The Value of Length,Width,&Height");
scanf("%f%f%f",&Length,&Width,&Height);
Trapezium_Area=0.5(Length+Width)*Height;
printf("The Area of Trapezium is=%.2f",Trapezium_Area);
getch();
}

No comments:

Post a Comment

Thank you for visit this site. You will get many programming news from here and learn programming very easily.

Popular Posts