Message from @WalterMelon (him/her/nigerian)
Discord ID: 802342742968631317
That's what makes great scientists and engineers.
Thanks!
You are correct.
Now, reposting in comprehensive form in case someone else comes by and can vet it...
V = (𝛑1.5^2 * 4.5) - (𝛑1.25^2 * 1.25)
SA = (2𝛑1.5^2 + 2𝛑1.5 * 4.5) + (2𝛑1.25*1.25)
Part of an assignment for geometry class. Does this look correct?
@WalterMelon (him/her/nigerian) yeah, math.max take the maximum of the two numbers and math.min takes the minimum
i just cant figure out if it wants the max/min of all 3 integers or just the ones in the closest parenthesis
The innermost would evaluate first, and the result would be used by the next one.
Each function only operates on numbers, so the one that has only numbers goes first
would it add them after??
No
Each function chooses one number
oh, and the 2nd time around would have given me the answer?
That's right
ah ok, thanks, im not the best at math
Imagine max working. What's the answer of just that?
4
Right. Then, the rest of the process is evaluating min(4, 3)
so it was 3,
thanks, i usually just rely on the help code my teacher provides but i gotta at least learn something thatll be on tests
It's good to figure out what's going on, sometimes the answers give insight
yeah
You learning C or C++?
Or Java?
java main
Nice. I work with Java sometimes.
i gotta use something called code HS
That sounds like a system to run code and check answers
yeah,
in coding, do you copy and paste alot or just write most by typing?
Both, and sometimes the code editor will suggest to completion options.
But the latter two are mostly time savers
Most of the time I work on something that someone's already done, and make changes, add or remove things.
Something someone on my team has worked on.
ah, the codehs thing is just like a blank page, so i have to remember all the different lines and procedures i have to do. thats where i fail, i have a shoddy memory
Stack Overflow is what I use to reference code
It's tough, but it sticks after a while. The main importance is to know what you want to accomplish, and the syntax is secondary to some extent. There are plugins for editors called "linters" that catch little mistakes.
Same
oh, usually if i get something wrong i have to go and look for it, and it takes too much time with having to look all of it up and type it out