SHARE
TWEET

Untitled

a guest Nov 12th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int x,i,y;
  5.     scanf("%d",&x);
  6.     for(i=x;i<=x+11;i=i+2)
  7.     {
  8.         if(x%2==0)
  9.         {
  10.  
  11.             y=i+1;
  12.         }
  13.         else
  14.         {
  15.             y=i;
  16.  
  17.         }
  18.         printf("%d\n",y);
  19.     }
  20.  
  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