Comment on I dunno

<- View Parent
SmartmanApps@programming.dev ⁨1⁩ ⁨day⁩ ago

Exponents come after brackets

That’s right

so I’m curious to see how you solve that with your logic

Ummm, you do the brackets and then the exponent. Not sure what you find unclear about that

It has an obvious correct solution

The one where you do the brackets before the exponent

which is 128

Nope! You can only get that by doing the exponent before the brackets, which is against the order of operations rules. Or did you wrongly add a multiply sign before the brackets - that also yields a different answer

you need to distribute in the brackets step

That’s right, so why did you do the exponent first?

which comes before exponents,

That’s right. So why did you do the exponent first?

so let’s see what you do with it

Brackets before exponents, as already established 🙄

source
Sort:hotnewtop