Question: 1 Write a program in Java to read values for bose and height (altitude) of a right-angle triangle from the keyboard and then calculate the
1 Write a program in Java to read values for bose and height (altitude) of a right-angle triangle from the keyboard and then calculate the length of longest side of the triangle (hypotenuse) using the Pythagoras Theorem. Here is the Pythagoras theorem. Note: The value for base, altitude and hypotenuse can be any value such as 23, 23,0,23.5 etc. Write comments at top of the program explaining what the program is doing and also put your name and date. Submit printout of source code plus one output of program. Name of printer to print to in Shima 237 is KYOCERA Also save your work so you have an electronic copy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
