daily pastebin goal
42%
SHARE
TWEET

indented for slashdot

a guest Jun 12th, 2017 2,012 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1.  
  2. #include <stdio.h>
  3.  
  4. int
  5. main (void)
  6. {
  7.   int i;
  8.  
  9.   for (i = 1; i & lt; = 100; i++)
  10.     {
  11.       if (((i % 3) || (i % 5)) == 0)
  12.         printf ("number= %d FizzBuzz\n", i);
  13.       else if ((i % 3) == 0)
  14.         printf ("number= %d Fizz\n", i);
  15.       else if ((i % 5) == 0)
  16.         printf ("number= %d Buzz\n", i);
  17.       else
  18.         printf ("number= %d\n", i);
  19.     }
  20.   return 0;
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top