Answer the question
In order to leave comments, you need to log in
How to make a random number appear on the screen, after which this number is written to a variable?
There is a game. When the player enters y, a random number is displayed on the screen. How can I write this number into a variable so that I can then add up all the points and say the total number of points?
Answer the question
In order to leave comments, you need to log in
It is more correct to first write the number into a variable, and then display the value of the variable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question