Write a program to read the lengths of the two legs of a


Question: Write a program to read the lengths of the two legs of a right triangle and to calculate and print the area of the triangle (one-half the product of legs) and the length of the hypotenuse (square root of the sum of the squares of the legs).

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program to read the lengths of the two legs of a
Reference No:- TGS02580154

Expected delivery within 24 Hours