Tony Firshman wrote: > and CTRL SPACE after 100. 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: 1i=0 2i=i+1:print i,"FIZZBUZZ":goto 2 There's nothing about NOT printing FIZZ if the number is not divisible by 3 etc.! :-P Marcel _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm