I’ve decided to start blogging the code I write so I can practice my coding skills, while also helping give examples of code out to people.
I wrote this code after reading this article.
FizzBuzz: Write code to loop from 1 to 100. If the number is divisible by 3 then output Fizz. If it’s divisible by 5 then output Buzz. If it’s divisible by both 3 and 5 then output FizzBuzz. Otherwise just output the number.
Posted in: Code, Uncategorized