QUESTION 3 Write a program called Triangle.java which first reads in the (x,y) coordinates for 3 points of a triangle. Each x-y is an integer. Compute the triangle'sarea. Use the formulas in PP 3.5 and 3.7 > run Triangle Enter the first x-y coordinate values: Enter the second x-y coordinate values: 10 Enter the third x-y coordinate values: 10 The triangle (0,0),(10,0) and(0,10) has the folloving area: 50.0