❔ 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.
18 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I tried to note the coordonate for the points
like ax ay first collum
bx by second one
cx cy third one
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
So what should i do? Sorry for stupid questions but I am at the begining with this :))))
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
You mean in Console writeline?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
owwwwww
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
one sec
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
So in that case what you recommend me to change ?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
So i have to reduce input data lines?
Or should i write all the formula in the console writeline?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.