Triangle problem
Hi Guys I am new here.And I need a little help in this C++ problem:
You need a program that calculate the area and perimeter of a right angle triangle with sides a,b and c, where c is the hypotenuse.useful formula c*c=a*a+b*b and area=0.5*(a*b).the calculation for the area and perimeter must be done in different function, using pass by value method
You need a program that calculate the area and perimeter of a right angle triangle with sides a,b and c, where c is the hypotenuse.useful formula c*c=a*a+b*b and area=0.5*(a*b).the calculation for the area and perimeter must be done in different function, using pass by value method