I used several comparisons and it still says it returned one or negative one when the the answer is 5 or 0 or some gobbledygook. Please teachers need to sepperate mathmatic 'should' from situational 'should'. English natives don't understand it from the looks of the forum. Worse yet this is precisely the kind of thing that will anger your users. It's impossible to understand if should means the reference equation/statement or the paragraph or the entire excercise. This is like asking someone to open your house with a six digit code with pencil and paper and not take more than an hour, get arrested or stay overnight. This is just bad.
Replace this line with your code.