Hypotenuse of a right triangle


Develop a C# console application that computes the hypotenuse of a right triangle. The computation of the hypotenuse of a right triangle is based on the Pythagorean Theorem: c2 = a2 + b2 and the hypotenuse, c ("long side") of the triangle can be computed with the formula the hypotenuse is equal to the square root of the side a squared plus side b squared.
The application should take as many side pairs inputs as the user desires and calculate each until the user enters a zero for both side one and side two (sentinel loop). You should use at least two (2) Math class methods.

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: Hypotenuse of a right triangle
Reference No:- TGS089054

Expected delivery within 24 Hours