Created
August 28, 2017 09:00
-
-
Save cubapp/14fa418588b659f7eff521e4f96d6254 to your computer and use it in GitHub Desktop.
The FizzBuzz.c the ugly way ...
This file contains hidden or 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> | |
void main(void){for(int i=0; i<=99; (++i%15)?(i%5)?(i%3)?printf("%d\n",i):printf("Fizz\n"):printf("Buzz\n"):printf("FizzBuzz\n"));} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment