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

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 Databases Questions!