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
I think you just need to change your || (or) to && (and). Otherwise, if your xp is 12 which is greater than level1xp (0), your program will set your level to level 2 immediately because of this if statement:
else if (userxp >= level1xp || userxp < level3xp)
An xp level of 12 will pass these requirements since 12 is greater than 0. Changing || or && will solve this problem I think. Let me know if you have any other problems after that.