Last active
February 29, 2016 10:17
-
-
Save byronmejia/a35fc3c17c3e2813521c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
for(int i = 0; i <= 100; i++) | |
(i % 15) == 0 ? printf("FizzBuzz\n"): | |
(i % 3) == 0 ? printf("Fizz\n"): | |
(i % 5) == 0 ? printf("Buzz\n"): | |
printf("%i\n", i); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment