Write a piece of code which prints each integer from 1 to 100 inclusively each on a separate line (use \n, vbCrLf, <br>, whatever), but if the number is divisible by 3 instead of the number print "Fizz", similary if it is divisible by 5 print "Buzz", and if it is divisible by both 3 and 5 print "FizzBuzz".
This simulates an old popular children's or drinking game.
If you decide to try this do it first, then read http://tickletux.wordpress.com/2007/...o-grok-coding/
This simulates an old popular children's or drinking game.
If you decide to try this do it first, then read http://tickletux.wordpress.com/2007/...o-grok-coding/
Comment