AMR-KELEG's blog

By AMR-KELEG, history, 7 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

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

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

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

It depends on how you define the operator %.