No announcements

random

Your code generates 1 random number between 0 and 99.
| 11 Replies | 1488 Views | Created by ming7 - Sunday, January 27, 2013 9:03 PM | Last reply by 4mir '- - Monday, January 28, 2013 5:49 PM

random no

Hi,As a supplementary, oRandom.Next(11111111, 99999999) will generate random number between 11111111 and 99999999.
| 2 Replies | 3702 Views | Created by Elby Paul - Monday, October 12, 2009 7:48 AM | Last reply by eryang - Wednesday, October 14, 2009 8:15 AM

Random

using System; namespace ConsoleApplication1 { static class Program { static void Main() { int numSides = 20; ...
| 5 Replies | 2846 Views | Created by Nyxia - Thursday, October 8, 2009 5:37 AM | Last reply by Matthew Watson - Thursday, October 8, 2009 9:10 AM

Random

You could generate 10 random problems but they might all be multiplication problems.
| 6 Replies | 3490 Views | Created by Deightc - Friday, May 30, 2008 7:17 PM | Last reply by SMD- - Wednesday, June 4, 2008 12:05 PM

Random letter or a random number

How do I get a random letter or a random number in small basic.
| 2 Replies | 937 Views | Created by el portugal - Monday, March 2, 2015 5:02 PM | Last reply by el portugal - Wednesday, March 4, 2015 5:01 PM

Random numbers aren't being random...

Add this field to your GameCard class : private static Random random = new Random(); Now your method will look like : public void ...
| 5 Replies | 2896 Views | Created by kevinslemons - Thursday, August 20, 2009 9:28 PM | Last reply by Nishant Sivakumar - Thursday, August 20, 2009 9:43 PM

Random

Forget random for now.
| 56 Replies | 1382 Views | Created by Peanut123 - Saturday, February 13, 2016 11:25 PM | Last reply by Cyrille Précetti - Tuesday, March 1, 2016 10:12 PM

Selecting a random column in a random field

The random phrase generator will be a great start.
| 4 Replies | 6807 Views | Created by Oliphant Smeaton - Tuesday, July 6, 2010 4:45 PM | Last reply by Oliphant Smeaton - Thursday, July 8, 2010 7:11 PM

Random

Yes, I declared Random as new random at the very beginning.
| 101 Replies | 1169 Views | Created by Peanut123 - Tuesday, February 23, 2016 5:02 AM | Last reply by Peanut123 - Thursday, March 3, 2016 12:34 AM

How to generate random numbers using random header

Hi Rahul, See this sample using random header.
| 5 Replies | 1511 Views | Created by Rahul Y - Monday, September 23, 2013 12:31 PM | Last reply by BhashTech - Tuesday, September 24, 2013 8:43 AM

Generate random number based on a random number

leventozturk.com/engineering/random/ Generates random numbers, applies distributions.
| 7 Replies | 1441 Views | Created by Walter s Hunt - Friday, October 25, 2013 5:15 AM | Last reply by Christopher84 - Thursday, November 28, 2013 4:46 PM

Random Values

0 begin set @numbah = round(((@upperBound - @lowerBound - 1)*rand())+@lowerBound,0) if @allowDupes = 1 or (NOT exists (select * from @result where @numbah = number) and @allowDupes = ...
| 5 Replies | 1393 Views | Created by Milli_22 - Monday, June 23, 2014 3:04 PM | Last reply by --CELKO-- - Tuesday, June 24, 2014 3:05 AM

Randomize Questions

I want a random question out of 20 to be in label each time the form loads plase help me.
| 7 Replies | 547 Views | Created by Abdus Sattar - Monday, January 12, 2015 9:48 AM | Last reply by Frank L. Smith - Monday, January 12, 2015 8:43 PM

Help with Random..

Put in either. int[] numbers = new int[arraySize ]; Next we'll put a random number into each one of those positions: Random ...
| 12 Replies | 1410 Views | Created by Zombeezii - Tuesday, April 24, 2012 6:54 PM | Last reply by Zombeezii - Tuesday, April 24, 2012 8:22 PM

Random Class

From the docs: The current implementation of the Random class is based on Donald E.
| 1 Replies | 3308 Views | Created by LetsGoNative - Tuesday, October 6, 2009 3:13 AM | Last reply by nobugz - Tuesday, October 6, 2009 5:08 AM

Random numbers

Statistical tables of random numbers are random numbers, i.e. the process used to generate them is a random one.
| 102 Replies | 16274 Views | Created by Justrc - Wednesday, July 28, 2010 11:58 PM | Last reply by Riced - Wednesday, August 11, 2010 10:55 AM

Random number

If you want to pick a random number between 1 and 100 each time you click a button, try this code: Public Class Form1 Private rnd As New ...
| 8 Replies | 3049 Views | Created by SaiPrasad01 - Wednesday, April 13, 2011 2:48 AM | Last reply by SaiPrasad01 - Wednesday, April 13, 2011 2:05 PM

random problem....

YiChun I don't think you use Randomize() with the random class do you ?
| 11 Replies | 3386 Views | Created by mipakteh - Sunday, June 28, 2009 11:29 AM | Last reply by YiChun Chen - Monday, July 6, 2009 6:49 AM