Cognizant Interview Question

Write a program to randomly generate numbers