C
C#3y ago
matuda.

❔ 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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
matuda.
matuda.OP3y ago
I tried to note the coordonate for the points like ax ay first collum bx by second one cx cy third one
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
matuda.
matuda.OP3y ago
So what should i do? Sorry for stupid questions but I am at the begining with this :))))
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
matuda.
matuda.OP3y ago
You mean in Console writeline?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
matuda.
matuda.OP3y ago
owwwwww
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
matuda.
matuda.OP3y ago
one sec
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
matuda.
matuda.OP3y ago
matuda.
matuda.OP3y ago
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
matuda.
matuda.OP3y ago
So in that case what you recommend me to change ?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
matuda.
matuda.OP3y ago
So i have to reduce input data lines? Or should i write all the formula in the console writeline?
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server