Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started