Write pseudocode in a text editor that shows the program


This exercise is to write a program to compute the hypotenuse of a right triangle, using the Pythagorean Theorem.

1. Review the Pythagorean Theorem, in case your geometry is rusty.

2. Write pseudocode in a text editor that shows the program sequence: 1) output explanation of the program purpose, 2) query the user for the sides of the triangle, 3) compute the length of the hypotenuse, 4) output the result.

3. Save the pseudocode as PythagorasXY.txt.

4. Write the program with Java class and filename PythagorasXY. Assume the user may input any decimal value. Use the Scanner class to read input, System.out.println for output. Use Math.pow and Math.sqrt in the program.

5. Compile and run.

6. Save a screenshot of the program run from the command line using the sides of 8 and 15 with a filename of PythagorasXY.png
How to Submit Your Work

Zip the .txt, .java, and .png file together into Pythagoras.zip.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write pseudocode in a text editor that shows the program
Reference No:- TGS01285163

Expected delivery within 24 Hours