#include<iostream.h>
#include<cconio.h>
int main( )
{
int height;
float area, breath;
court<<"Enter the height";
cin>>height;
cout<<"Enter the breath";
cin.>>breath;
area=(0.5)*height*breath;
cout<<"area of triangle is"<<area;
getch( );
return 0;
}
To run:
No comments:
Post a Comment
theengineerschoice01@gmail.com