Top "Fizzbuzz" questions

a game, algorithm and a common programming task of replacing any number divisible by three with the word "fizz", and any number divisible by five with the word "buzz"

Codecademy FizzBuzz app, stuck on step 1

Here's my code for Codecamedy's FizzBuzz lesson var i; for ( i = 1; i > 20; i++ ) { "hello" if ( i % 3 === 0 ) { if ( i % 5 === 0 ) { "FizzBuzz"; } …

javascript fizzbuzz
Fizz Buzz in Ruby for dummies

Spoiler alert: I am a true novice. Tasked with figuring out fizz buzz in ruby for a class and while …

ruby fizzbuzz
Swift 2: expression pattern of type 'Bool' cannot match values of type 'Int'

I'm doing this problem set "FizzBuzz", and my switch statement is giving me some problems, here's my code: func fizzBuzz(…

swift switch-statement fizzbuzz