?Profile}
?Entries}
?Tagboard}
%Goodbyes}
❤ DISCLAIMER
❤ Marielle. Yr 10 IST.simply me & what I do in IST...
no taxing aiights. :)
cos i have machine guns! xD
❤ Mae Mae.
I'm Marielle. ❤ 02.05.95
cmac10'ster.
[EST. 210307]
i❤youuuu.
&& thats me.
Random Number Generator
As I said in one of my previous posts I would complete the Random Number Generator Task that I started. Though the activity has changed a little bit from the original task which was way easier, and now works similar to happy or sad but instead we're using the heads or tails of coins.
So I've created a program that when the "random" button is clicked, a 0 or 1 appears in the textbox below it and if the number is 0, the heads coin appears as an image and the same with tails for when 1 appears.
- Interger Data Type- Displays a whole number.
- Randomise- Starts the random number generator.
- Rnd- Makes a random number.
The event used in this task is the click function, the properties used are the codes of the button, textbox and pictureboxes and the objects that were used were a button, a textbox, two pictureboxes and a label.
Below is a screen shot of the program when it's run;
And here is the code that I used to construct the program;
Monday, August 31, 2009 - 10:05 AM
❤ Tagboard.
❤ Leave me a note.
❤ Fly away.
Bianca's Blog: Bianca in IST.Tatjana's Blog: Tatjana in IST.
❤ Storytime.
February 2009 // March 2009 // April 2009 // May 2009 // June 2009 // July 2009 // August 2009 // September 2009 // October 2009 // November 2009 //