AMR-KELEG's blog

By AMR-KELEG, history, 9 years ago, In English

(a % b) % c == (a%c) %b Is this statement true?

  • Vote: I like it
  • -19
  • Vote: I do not like it

»
9 years ago, hide # |
 
Vote: I like it +32 Vote: I do not like it

No. Try a = 4, b = 3, c = 2.

»
9 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

It depends on how you define the operator %.