Prog10082 object-oriented programming-i java you are to


Object-Oriented Programming-I Java

You are to write a program that calculates the slope and length of sides and the perimeter of a rectangle given four of its vertices as ordered pairs (x, y). 

A vertex is a point which consists of an x-value and a y-value, and you have four points as the vertices of a rectangle, so you'll need to prompt the user to enter the x-value and y-value for the four vertices of the triangle. You'll need to store these input values inside variables that are declared with appropriate names and data types. Your prompts to the user should be clear, concise, and use proper spelling/grammar.

Your user prompts and output must appear exactly as shown above. Vertices must be formatted with one decimal digit and other calculations should be formatted with exactly two digits after the decimal.

Your program must use variables of the appropriate type and with self-documenting names.

You must include appropriate documentation in your code.

Attachment:- Assignment File.rar

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Prog10082 object-oriented programming-i java you are to
Reference No:- TGS02199603

Expected delivery within 24 Hours