Hi,
I can do your program with no problems.
It is an easy task for an experienced programmer.
I will utilise the library <ctime> or <time.h> (depends on what you like).
If you please, provide me the details and I will finish it very fast.
Hope to hear from you soon,
George