Irishpride<3
[√] Flameworthy
+76|5546|Baile Atha Cliath, Éire
Where does the modulus come in the order of operations. Can't find it in notes/google.

like...

b) x = 2 % 2 + 2 * 2 - 2 / 2; 

What is the correct order?
Irishpride<3
[√] Flameworthy
+76|5546|Baile Atha Cliath, Éire
b) 2*2/2+2%2-2?

Man I suck @ math.

Last edited by Irishpride<3 (2009-11-19 07:13:24)

AussieReaper
( ͡° ͜ʖ ͡°)
+5,761|6398|what

x= (2%2) + (2*2) - (2/2)

I think. It's 2am though...
https://i.imgur.com/maVpUMN.png
jsnipy
...
+3,277|6768|...

Board footer

Privacy Policy - © 2024 Jeff Minard