0
What does "expected primary expression before <" mean?
I'm constantly getting the message shown above. Can anybody help? I'm trying to write an "if" statement like this: if (total >=1 && <2) { cout << "BURN THIS MONSTROSITY!" <<endl; }
1 Answer
+ 1
You forgot the left operand for the <.
if ((total >=1) && (total < 2))