Currently, the code seeds a value based on the time (within the divergenceNumberGenerator function), which is fixed i.e. random numbers are not being generated in each function call.
Your goal is to fix it such that it properly generates random values.
Currently, the code seeds a value based on the time (within the
divergenceNumberGenerator
function), which is fixed i.e. random numbers are not being generated in each function call.Your goal is to fix it such that it properly generates random values.