C++
Random random = new Random(); int num = random.Next();
Random random = new Random(); int randomNumber = random.Next(0, 100);//Give the range in which you want to generate.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)