Jan 29, 2013

To Determine area of triangle

/*To Determine area of triangle*/

#include"stdio.h"
#include"conio.h"
void main()
{
clrscr();
int b=2,h=3;
float area;
area=(b*h)/2.0;
printf("The triangle is=%.2f",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