How To Generate Random Double Numbers | C Programming Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

as clear as a sunny day. thank you. My programming skills got better thanks to your golden videos and rich explanations that let no room for inaccuracy. thank you again

naboulsikhalid
Автор

Sometimes srand(value) (ex: srand(2)) is used to generate random numbers, what is the difference between srand(value) and srand(time(NULL)) and srand(time(0))? What I learned in my C class is only to use srand(time(NULL). Is it possible for you to make a video using all those possible ways for random number to demonstrate their differences? Thank you very much!

JH-ityr
Автор

As you mentioned that max-min will give values between 0 and (max-min), I don't understand why (5 - (-5)) gives not values from 0 to 10, but some negative numbers. Would you please help me out? Thank you!

JH-ityr
visit shbcf.ru