Question: 4. Write a program that performs the following: a. Accept the coordinates of the points A and B of the triangle shown in the
4. Write a program that performs the following: a. Accept the coordinates of the points A and B of the triangle shown in the figure. Print it out. b. Determine the area of the triangle. Print the result. c. Determine the circumference of the triangle. Print the result. d. What is the length of the side of a square that has the same area as the triangle? Print the result. B A X
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
