June 7th, 2012, 03:51 AM
|
#1 (permalink)
|
|
New Member
Thread Author (OP)
Join Date: Jun 2012
Posts: 1
Device(s):
Carrier: Not Provided
Thanks: 0
Thanked 0 Times in 0 Posts
|
Modestly asking for help with a Random Number Generator project
Alright so here is what I am trying to do. I want to click a button that will generate a number between 1 and 100 and then, I want the number to be displayed on the screen.
I also want to create conditional text depending on the number. For instance, if the random number generated is between 1 and 19, I want it to say a specific sentence after the number is displayed. If the number generated is between 20 and 40, I want a different sentence to be displayed.
I have been watching the MIT tutorials and trying to figure it out in the block editor to no avail. Any help would be greatly appreciated.
|
|
|
Last edited by FreneticFerret; June 7th, 2012 at 03:52 AM.
Reason: typographical errors
|
|