Statistics: Posted by moneo — Mon May 15, 2006 8:12 pm
Statistics: Posted by myuusmeow — Sun May 14, 2006 7:58 pm
Statistics: Posted by MystikShadows — Sun May 14, 2006 7:50 pm
Code:
CLSPRINT "Guess the Random Number"PRINT "Hint: It is less than 11"PRINT "Only 3 chances!"RANDOMIZE TIMERnumber = INT(RND * 10)INPUT "1st chance?", number1IF number1 = number THEN PRINT "You won!" ELSE PRINT "Too bad."INPUT "2nd chance!", number2IF number2 = number THEN PRINT "You won!" ELSE PRINT "Oh no!"INPUT "3rd, and last chance!!!", number3IF number3 = number THEN PRINT "You won!" ELSE PRINT "Too bad, it was "; number; "."
In Code:
... = number THEN PRINT "You won"
Code:
... = number THEN PRINT "You won!" END
Code:
... = number THEN PRINT "You won!" AND END
Statistics: Posted by myuusmeow — Sun May 14, 2006 7:23 pm