❔ Calculate Area
Hi guys! I need some help about a task I've been stuck for a while. I follow a programing course and I got this :
In an archaeological site, 3 columns belonging to a building were discovered.
Write an application that finds the minimum area of the building, given the coordinates of the 3 columns.
The input data are real numbers with 6 decimal places.
Example:
For input data:
1.50000
1.50000
1.50000
3.50000
4.50000
1.50000
The console will display:
3
I tried to solve that but i didn't get it.
In an archaeological site, 3 columns belonging to a building were discovered.
Write an application that finds the minimum area of the building, given the coordinates of the 3 columns.
The input data are real numbers with 6 decimal places.
Example:
For input data:
1.50000
1.50000
1.50000
3.50000
4.50000
1.50000
The console will display:
3
I tried to solve that but i didn't get it.