Question: Write a program that asks the user to supply three points IN JAVA. Each point will be a pair of integers that is stored in
Write a program that asks the user to supply three points IN JAVA. Each point will be a pair of integers that is stored in a Point object. It will then assume that these three points define a triangle, and will provide you with the length of each side and the angles between them. You will need to use the Scanner object, the Point object, and the Math class in order to calculate the results. There should be at least three methods in your program:
1) A method that accepts the three points as parameters
2) A method that does the computations and stores the three lengths and three angles in variables
3) A method that prints the results to the output window.
The information is pretty straight forward.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
