Showing posts with label The Area of Triangle Program. Show all posts
Showing posts with label The Area of Triangle Program. Show all posts

Jan 30, 2013

The Area of Triangle Program

/"The Area of Triangle program"\

#include"stdio.h"
#include"conio.h"
void main();
{
clrscr();
float Base,Height,Teiangle_Area;
printf("Enter the value of Base&Height:");
scanf("%f%f",&Base,&Height);
Triangle_Area=0.5*Base*Height;
printf("The Area of triangle is=%.2f",Triangle_Area);
getch();
}
 

Popular Posts