AMR-KELEG's blog

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

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

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

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

It depends on how you define the operator %.