Advertisement
LegoDrifter

K.A 8

Dec 17th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     int i,n;
  7.     scanf("%d",&n);
  8.     for(i=1;i<=(2*n);i++){
  9.     if(i%2!=0){
  10.         {
  11.         printf("%d \n",i);
  12.         }
  13.     }
  14.     }
  15.  
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement