Coding challenge: FizzBuzz

Miscellaneous Forums/General Discussion/Coding challenge: FizzBuzz

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've just been reading an interesting article which claims a very large percentage of candidates who apply for a programing position simply can't program.

As an example the candidates were asked to write a FizzBuzz program. Rules as follows:

________________________________________
Write a program that prints the numbers from 1 to 100
But, for multiples of 3 print "Fizz" instead of the number
For the multiples of 5 print "Buzz" instead of the number
For numbers which are multiples of both 3 and 5 print "FizzBuzz".
________________________________________

I've knocked up a BlitzMax variant which I'll post later.
I'll post a link to the article too.



For now though, your turn. Post your code samples!