A c++ program that generates a variable number of random integers