i\'m learning some Java and decided to do something simple but it keeps returning the wrong value... i don\'t know why i\'m sure there something that my untrained eye isn\'t pic
if (userxp >=level1xp || userxp
That should be && not || .
&&
||
And my minimal suggestion would be to completely drop the first condition.
Since you are in the else branch, you have already checked that the XP is not lower than the previous level requirement.
if (userxp