generate and display random number