Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What is the value of the expression 5 Mod 3 + 3\5*2?
What is the value of the expression 5 Mod 3 + 3\5*2?

The result value is 2. This expression contains four operators: mod, +, \, and *. Among them, * has the highest priority, \ is integer division, followed by mod, which is remainder, and then, + is the lowest.

So the order of evaluation of this expression is:

5*2=10

3\10=0 (not 3/10)

5

mod

3=2

2+0=2