0

How do I make a variable a random value between 1 and 10 each time the program loops? I want to have a "I'm thinking of a number between 1 and 10..." thing, and then you have to guess the number, but I don't want the number to be the same each time. How could I do this?

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by mrboolf
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.