write a program in java to calculate and display the hypotenuse of a right angled triangle by taking perpendicular and base as inputs
Attachments:
Answers
Answered by
8
Explanation:
height and base has to be squared to get the hypotenuse.
The program is done by Scanner input.
hope this is only the thing you need
Attachments:
Similar questions