Shop OBEX P1 Docs P2 Docs Learn Events
random number program — Parallax Forums

random number program

noizebotnoizebot Posts: 3
edited 2014-01-28 22:15 in BASIC Stamp
Hello

Im learning bs2 and trying to write a random number program using the button. I am still a novice and having trouble with writing the code.

The random numbers generated are Bytes but I only need the numbers to be within 1 thru 50
I would also like it to label which numbers are prime. When ever the button is pressed it will generate a new random number sequence.

Is there any material online I could look at to help me get an idea how to write the code for this:

Comments

Sign In or Register to comment.