I need to produce a random number, and then display it on screen. Im aware of the random function but i'm unsure of how to do this particular task. Any ideas, anyone?
Thanks in advance,
Mark C
You need to declare a variable:
int value = Random(10); //creates a number between 0 and 10
Then you can display it like this:
Display("The value is %i", value); //displays the number stored in "value"
Does that help?