answersLogoWhite

0

Where would you use the rand?

User Avatar

Anonymous

16y ago
Updated: 8/17/2019

What else can I help you with?

Related Questions

Where would you use a Rand?

its the currency used in South Africa


Where use currency rand?

The Rand is a South African currency.


What pen name did Russian immigrant Alyssa Rosenbaum use?

Ayn Rand


What money do South Africans use?

the rand


Which countries use rand?

South Africa


What is randomize function in c plus plus?

You can use rand(). Make sure that you use srand()to generate the seed for rand() (if you do not, you get so called pseudo random numbers).


What would be the result of trying the function INT(RAND)(5) into cell B1?

what would be the result of typing the function =INT(RAND()*5) into cell B1?


What currency do they use in jahannesburg?

ZAR = South African Rand


Who would win in a battle between Rand Paul and Thanos?

In a battle between Rand Paul and Thanos, Thanos would likely win due to his immense power and abilities.


Why are random numbers useful in PHP?

Random numbers can be used for many different things. Personally i use the rand() directive for security measures to define a session identifier. Also i use the rand feature (sometimes) for user authentication while using captcha images. basically, when you need a random number, use rand() ;)


How do you print 10 ramdom numbers by using for loop?

11


How do you generate random questions in PHP?

Depends where is the data. If you use a DB server, you can simply use the DB server's function (such as RAND()). A simple MySQL query would be: SELECT id, question FROM questions ORDER BY RAND() LIMIT 1,0; You can also generate a random number using rand() and use: SELECT id, question FROM questions WHERE id = '<random_numer_comes_here>' LIMIT 1,0; But you'll have to ensure that that the id number exists (you can use a loop until you find one or reach max tries). Hope that helps.