[Solved] I am doing a coin toss game program. But i am having an error in this portion [ (if Guess==i) {. How do I solve this? [duplicate]
You compare an Integer with a String. That obviously can not work. Convert either Guess into int or i into String. solved I am doing a coin toss game program. But i am having an error in this portion [ (if Guess==i) {. How do I solve this? [duplicate]