Bizz Buzz Mathematics Game RRS feed

  • Question

  • Hi all, I'm new to MSDN.

    I am currently attempting to create a Bizz Buzz Math Game, which means you enter a number for the computer, if the number is divisible by 3 then it shows the word "bizz" if divisible by 5 then it shows "buzz"

    I can't seem to find the current statement as SmallBasic does not have a Is statement. I am attemepting to convert this

    procedure bizzbuzz for i :=1to100doset print_number totrue;if i is divisible by 3then print "Bizz";set print_number tofalse;if i is divisible by 5then print "Buzz";set print_number tofalse;if print_number, print i; print a newline;end

    which is PseudoCode into SmallBasic

    Monday, September 24, 2012 5:19 PM