SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Computer Science AQA A level

» Start this Course
(Practice similar questions for free)
Question:

If you were to want a random number between 0 and 10, how would you go about programming one?

Author: Will Parker



Answer:

Random random = new Random(); int randomNumber = random.Next(0, 10); Console.WriteLine(randomNumber);


0 / 5  (0 ratings)

1 answer(s) in total