Contact Information

Friends

Comments

I don't understand the computation of how to solve the problem, not coding but the math. I need to a program that reads in the x and y coordinates of a triangle’s vertex's. I need to compute and output the triangle’s perimeter. I was told I could use Pythagorean Theorem 3 times and I could use
Math.sqrt((x2 –x1) 2 + (y2 –y1)2)to compute each side length. A sample input and output...