how do i generate random number and output them on screen 20 numbers every 1 minute
I know how to generate random number but how do i control the number of times the number appear per minute?
You can do it with functions which are defined in time.h.
I guess, time() and difftime() will be useful for you.