Irishpride<3
[√] Flameworthy
+76|5518|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|5518|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|6370|what

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

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

Board footer

Privacy Policy - © 2024 Jeff Minard