Programs that make your work easy
All c and C++ programs on all topics are here.
Friday, 16 September 2016
Area of triangle
#include < iostream.h >
void main()
{
int height, base;
cout<<"Enter height and base";
cin>>height>>base;
Area=height*base*0.5;
cout<<"Area if triangle is"<<area;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment