Top 10 numbers from random number

# Thread: Top 10 numbers from random number

1. Junior Member
Join Date
Dec 1969
Posts
2

## Top 10 numbers from random number

pls help me with this question:<BR><BR>How to put Top 10 number from biggest to smallest in random number?

2. Senior Member
Join Date
Dec 1969
Posts
11,334

## Put 'em in an array and sort the array <

boo

3. Senior Member
Join Date
Dec 1969
Location
Los Angeles, CA
Posts
21,192

## Did they change thigs around

i thought if you sorty something it will NOT be in randon order or is that just a blond thing<BR><BR><BR>A blonde made several attempts to sell her old car. She was having a lot of problems finding a buyer because the car had 340,000 miles on it. She discussed her problem with a brunette that she worked with at a bar.<BR>The brunette suggested, "There may be a chance to sell that car easier, but it&#039;s not going to be legal."<BR>"That doesn&#039;t matter at all," replied the blonde. "All that matters it that I am able to sell this car."<BR>"Alright," replied the brunette. In a quiet voice, she told the blonde: "Here is the address of a friend of mine. He owns a car repair shop around here. Tell him I sent you, and he will turn the counter back on your car to 40,000 miles. Then it shouldn&#039;t be a problem to sell your car."<BR>The following weekend, the blonde took a trip to the mechanic on the brunette&#039;s advice.<BR>About one month after that, the brunette saw the blonde and asked, "Did you sell your car?"<BR>"No!" replied the blonde. "Why should I? It only has 40,000 miles on it."<BR>

4. Senior Member
Join Date
Dec 1969
Location
Los Angeles, CA
Posts
21,192

## RE: Top 10 numbers from random number

out the 10 munbers into an array<BR><BR><BR>then use ramdomize <BR><BR>generate the numbers from 0 to 9 ramdonly and insert that element into the NEW array one after another....but you have to make sure that the number you have inserted has not already been inserted into the new array<BR><BR><BR>

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•