answersLogoWhite

0

Use rand() which returns any random number

To be more precise , use random(a) which returns any number from 0 to a-1

For compiling the program again and again , use

randomize() so that every time it takes different random numbers.

It may be rand <-> random

Check it out...

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

How does water create stream valley?

The Velocity


What is stream of conscious in mrs dalloway?

stream of consciousness is a literary technique where the text consists of the character's unbroken stream of thought as if you were actually in their head. The character often jumps from one subject to another at random.


What is the phone number of the Carol Stream Public Library in Carol Stream?

The phone number of the Carol Stream Public Library is: 630-653-0755.


What is the phone number of the Valley Stream Historical Society in Valley Stream New York?

The phone number of the Valley Stream Historical Society is: 516-872-4159.


What is fwrite function in c language?

writes data to a FILE* stream.


What are Gulf Stream rings are caused by?

The Gulf Stream ring is formed when Gulf Stream meanders break off the Stream to create independent circulatory systems. Because of the formation of this ring, the warm tropical water from south of the Gulf Stream can be moved to north of the Gulf Stream.


What is a landform a stream can create over many years?

canyons and vallys


What is mean by stream in file?

A stream is how a program reads to and writes from a file. When a program needs to create or edit a file, it opens up a "stream" to the file, "streams" the intended data to the file, and then saves it before closing the stream.


What is the phone number of the Cold Stream Branch in Cold Spring?

The phone number of the Cold Stream Branch is: 859-781-6166.


What is a sentence with the word subtitle?

Each subtitle stream can be assigned a different language.


How can I use ffmpeg to create an HLS stream with multiple resolutions?

To create an HLS stream with multiple resolutions using ffmpeg, you can use the &quot;hlsvariant&quot; option to specify different resolutions and bitrates for the stream. This allows viewers to switch between different quality levels based on their internet connection.


What pseudo-random block stream is generated by 64-bit OFB with a weak DES key?

With (OFB) output feed back, a random 64-bit number, known as the IV is encrypted with the weak secret key to create the one-time pad. A weak DES secret key is one which is either all 1's, 0's or alternating ones and zeros. The plain text is XOred with as many bits of the generated one-time pad. If a weak key patterns will emerge in the ciphertext. - Eric Appelboom