C order of Operations: is there an RobotC operator for ±?
Just wondering if there is an operator symbol, in RobotC, for ±? I couldn't find one on the RobotC Wiki C order of operations
page, but I thought I would just make sure. Just incase there is another way of doing this, anyways, this is the code I want to simplify, in Pseudo/RobotC code first, and pure RobotC second. The RobotC version is how I beleive it would otherwise have to be written. (All variables are of 'int' type)
EDIT: (I'll edit this message, rather then re-posting, so that it still registers as unanswered - which it is!)
I'm just wondering about the ± operation, because otherwise I have to do this (I'm not sure that it works, because it has && and ||!):