SHARE
TWEET

Untitled

a guest Nov 12th, 2019 69 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,a=0;
  5.     scanf("%d",&X);
  6.     for(i=1;i<=X;i++)
  7.     {
  8.         if(i%2!=0)
  9.         {
  10.      printf("%d\n",i);
  11.         }
  12.  
  13.     }
  14.  
  15.     return 0;
  16. }
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