Iteration Technique in C With Rand and Time Function

code: