Posts by Phz1991 • 11 points
1 post
-
0
votes4
answers361
viewsQ: Comparison between random number and typed number never says it’s right, even though the numbers are equal
I’m trying to make a program in which I can type a number n and then I would like to generate a random number between 1 and 2. If that random number is the same as n, would show "You won!" and…