Write a program in c which takes the x y coordinates of


Write a program in C which takes the (x, y) coordinates of three points on the x-y plane as the input and outputs the area of the triangle formed by the three points. More specically, the program prompts the user to enter six float

typed numbers from the keyboard (representing the x and y coordinates of the three points), as shown below:

Input the x-coordinate of the first point: [user enters a float number]

Input the y-coordinate of the first point: [user enters a float number]

Input the x-coordinate of the second point: [user enters a float number]

Input the y-coordinate of the second point: [user enters a float number]

Input the x-coordinate of the third point: [user enters a float number]

Input the y-coordinate of the third point: [user enters a float number]

The program prints the area of the triangle on the terminal and exit

How do I do this assignment?

 

 

Request for Solution File

Ask an Expert for Answer!!
Civil Engineering: Write a program in c which takes the x y coordinates of
Reference No:- TGS01126833

Expected delivery within 24 Hours