SHARE
TWEET

Sequence

a guest Feb 27th, 2020 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int i=1,j;
  5.     for(i=1;i<=2;i+=2)
  6.     {
  7.         for(j=7;j>=5;j--)
  8.         {
  9.             printf("i=%d j=%d\n",i,j);
  10.         }
  11.     }
  12.     for(i=3;i<=3;i+=2)
  13.     {
  14.         for(j=9;j>=7;j--)
  15.         {
  16.             printf("i=%d j=%d\n",i,j);
  17.         }
  18.     }
  19.     printf("\n...\n\n");
  20.  
  21.     for(i=9;i<=9;i+=2)
  22.     {
  23.         for(j=15;j>=13;j--)
  24.         {
  25.             printf("i=%d j=%d\n",i,j);
  26.         }
  27.     }
  28.     return 0;
  29. }
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