Cheater! ;-) Also, one can only run your program once.

This meets all Rich's requirements:
----------
The rules are simple -
write out the values 1 to 100 on screen
If the value is divisible by 3 write 'FIZZ' after the number
If the value is divisible by 5 write 'BUZZ' after the number
If the value is divisible by 3 and 5 write 'FIZZBUZZ' after the number
----------
Nothing about having to stop at 100 (8-)#

Okay, if you want to get creative with the rules:
Hmmm, I just did this without any bytes at all.

I just took a soft pen and wrote the answers on the screen. There. No bytes of computer memory involved at all!

Admittedly I now need a new monitor ;-))

Dilwyn Jones


_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to