#include<iostream>
using namespace std;
main()
{
int length,base,area;
cout<<" Length of triangle :-";
cin>>length;
cout<<" Base of triangle :-";
cin>>base;
area=(length*base)/2;
cout<<" Area of triangle is :-"<<area;
return 0;
}
using namespace std;
main()
{
int length,base,area;
cout<<" Length of triangle :-";
cin>>length;
cout<<" Base of triangle :-";
cin>>base;
area=(length*base)/2;
cout<<" Area of triangle is :-"<<area;
return 0;
}
0 Comments
कमेंट केवल पोस्ट से रिलेटेड करें