Robbert ArulebaDec 20, 2021 · 3 years ago5 answers How can I generate a random number between two values in C++ for cryptocurrency trading?
I am working on a cryptocurrency trading algorithm in C++ and I need to generate a random number between two specific values. How can I do this in C++? I want to ensure that the random number generated is within the specified range so that I can use it for making trading decisions. Can you provide me with a code snippet or an explanation of how to achieve this?