I need help getting started on this program. I have to write a program in C that calculates the perimeter, area, and centroid of a triangle. The user inputs three coordinates. For example: Enter coordinates of Point A (x y): 0 0
Enter coordinates of Point B (x y): 3 0 Enter coordinates of Point C (x y): 3 4
Any advice/help would be greatly appreciated.