60 535
Assignments Done
97,9%
Successfully Done
In April 2018

Answer to Question #37491 in C++ for umair saddique

Question #37491
make a program to find the area of right triangle having base 2cm & 2cm height.
Expert's answer
#include using namespace std;
int main()
{
int a,b,S;
a=2;//height
b=2;//base
S=(a*b)/2; //area
cout <<"Area of right triangle = "<< S;
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions