Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 287 Bytes

File metadata and controls

12 lines (8 loc) · 287 Bytes

code fizzbuzz:

print the numbers from 1 to 100, except if the number is divisible by 3 print 'fizz', if it is divisible by 5 print 'buzz', if both, print 'fizzbuzz'.

with a twist. Do it without

  • for/while loops
  • nonconst variables
  • conditionals (if stmt or ternary operator)