Write a program in Java to calculate and display the hypotenuse of a Right-Angled Triangle by taking perpendicular and base as inputs. Hint: h = √p 2 + b 2 ...
確定! 回上一頁