Question: This is a follow up to this Java question: https://www.coursehero.com/qa/wait/38143447/ Given the information provided in the previous post: 1. Pseudocode Write Pseudocode to design these

This is a follow up to this Java question: https://www.coursehero.com/qa/wait/38143447/

Given the information provided in the previous post:
1. Pseudocode

  • Write Pseudocode to design these methods of the class RightAngleTriangle:
    • calculateHypotenuse(), calculatePerimeter(), calculateArea(), and createReport()
  • Write Pseudocode for method main of the main program
    • prompt the user for inputs
    • place data into an instance of your class
    • provide outputs resulting from using the worker methods

2. Flowchart

  • Create a flowchart using the above Pseudocode
  • Using draw.io for example

Note: The method createReport() needs to concatenate a string using the field variables, and by calling method calculateHypotenuse() for the third value. For both Pseudocode and Flowchart, the mathematics will involve creating a power and a square root. Rather than writing it out in long form, you may simply use:

  • Math.pow (x, 2)
  • Math.sqrt(42)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!