+ 1
Where am i going wrong
Trying to use srand(time(0)) and rand() to generate random values for the default on an equation to keasure the volume of a cube commented out is the code from the lesson that teaches srand https://code.sololearn.com/cOwPB57rAOVS/?ref=app
2 ответов
+ 2
What's the problem though? You just need to put the code in the main function and it works:
https://code.sololearn.com/c2EIimBijhty/?ref=app
+ 2
thank you Aaron