We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fad508a commit a2c4480Copy full SHA for a2c4480
solutions/c/shortest-fizz-buzz.c
@@ -1 +1 @@
1
-main(i){for(;i<101;puts(i++%5?"":"Buzz"))printf(i%3?i%5?"%d":"":"Fizz",i);}
+main(i){for(;i<101;printf("%i\r%s%s\n",i++,i%3?"":"Fizz",i%5?"":"Buzz"));}
0 commit comments