$2-1+1$; a fairly straightforward question, but I (well, not me, but Henry Reich) found something strange.
Most people would evaluate it as $2+(-1)+1 = 2$; however, this goes against the famed, and fairly standard B.E.D.M.A.S./P.E.D.M.A.S., which states that addition goes first, and then subtraction.
If this is the case, then the answer is $2 - (1 + 1) = 2-2 =0$.
Which is the correct answer, and why is the conventional way (B.E.D.M.A.S./P.E.D.M.A.S.) so ambiguous?
This is why those abbreviations are poor. PEMA is a better one for that purpose.
By the way, normally it is PEMDAS (not PEDMAS) and it stands for Parenthesis, Exponentiation, Multiplication and Division, Addition and Subtract. It's just that the "and"s get lost in abbreviation.