//prg to find area of triangle
//Downloaded From www.c4cpp.co.nr. (C)2009.All rights reserved.
#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
clrscr();
float a,b,c,p,ar;
cout<<"Enter 3 sides :"<<endl;
cin>>a>>b>>c;
p=a+b+c;
ar=sqrt(p*(p-a)*(p-b)*(p-c));
cout<<"Area :"<<ar;
getch();
}
Programs Can Also Be Downloaded From The Folders Below....[Or Scroll Down]
Triangle Area
Click Here To Download C++ File Of This Program
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment