Free Pascal Program Tutorial 13 - Random Numbers Code Example - Lazarus

preview_player
Показать описание

Randomizing numbers is simple. Remember to call randomize and place randomize outside of the loop.
Рекомендации по теме
Комментарии
Автор

For a long time, I have not known that random key word. I'm the fools. Thanks a lot.

mob
Автор

how can u use this to choose 4 random names our of and array with 20 names? Cause right now i am trying to do something like that but i keep getting and error with the random part. Any ideas?

JosiahFrancisJohnnyTheNInja
Автор

num, x : integer; { works fine if you want to define multiple integers or what-evers }

keesdenheijer
Автор

really useful video !
you have my thanks ^ ^

salad
Автор

In my problem a user had to enter the 50 random numbers and you were supposed to write the program to check how many of these numbers fell within the given range. How do i declare the range and what i the number falls out of the range.

Alex-jdhd
Автор

how to use random if range of random is -10 until 10 ?

radenmuhamadirvanramadhan
Автор

Make sure you don't name the program "random" it can be anything else

CHTHIN
Автор

Why you can not put the randomize into the for sentence??

jorgediiorio
join shbcf.ru