Sam Pauken wrote:I'm trying to figure out what's wrong with the code below. Could someone give me a nudge in the right direction please?
Why do you think there is something wrong with the code? Do you get an error? Does it misbehave when you run it? TellTheDetails please.
posted 7 years ago
For "correct != 999, I'm told that "The operator != is undefined for the argument type(s) boolean, int". For guess=999, I'm told "Type mismatch: cannot convert from int to boolean". In the directions in the code, I'm supposed to assign the bollean to false, so I'm not sure how to proceed.