posted 9 years ago
Welcome to JavaRanch.
You can start by describing what the code does now, how that is different from what you would like it to do, and what particular issues you're facing getting from one to the other.
The immediate problem seems to be that you're comparing strings using the "==" operator instead of the "equals" method. Even though the compiler allows it you need to change that.
The 2nd problem is that you're trying to assign integers to a string variable (tuserchoice) - I think you meant to assign to userchoice instead.
But please, going forward, do not post screenshots - post the code as text. That way it can be searched, and it can be quoted in replies.