Asked by deco

3 ^ 3 * 3 \ 2 Mod 12 * (4 – 2)

Answers

Answered by oobleck
3 ^ 3 * 3 / 2 Mod 12 * (4 – 2)
If I evaluate this as written, I get
27 * 3 / 2 (mod 12) * 2
= 9 / 2 * 2
= 9
I suspect that is not what you meant, since 2 (mod 12) is just 2
So, maybe you meant something else.
Now,
3 ^ 3 * 3 / 2 is not an integer, so now I'm getting confused.
And who knows? Maybe you're a computer programmer, and \ indicates integer division. In that case, we could have
3^3 * 3/2 = 81/2 = 40
But the rest still is either trivial or stupid


So, how about some parentheses and standard "/" usage for division?

Oh, and why not? Maybe you could show your work, so we can get an idea of how you view operator precedence?...
There are no AI answers yet. The ability to request AI answers is coming soon!