Im writing a programm to find the area of a triangle.I do this by entering 6 ints which are the 3 cordinates of the triangle.I put the the ints into an array.I want to know how to do a continous loop and how to end if i have exactly 6 cordinates or enough to perform function.