text: /* You're given two numbers L and R. Print all odd numbers between L and R (both inclusive) in a single line separated by space, in ascending (increasing) order.
  
  Input:
  First-line will contain two numbers L and R.
  Output:
  Print all odd numbers in a single line separated by space, in ascending (increasing) order.
  
  Constraints
  1≤L<R≤106
  Sample Input 1:
  2 9
  Sample Output 1:
  3 5 7 9
  Sample Input 2:
  3 4
  Sample Output 2:
  3
  EXPLANATION:
  In the first example, odd numbers between 2 and 9 are 3,5,7,9.
  In the second example, the only odd number in the range is 3. */
  
  #include <stdio.h>
  
  int main(void) {
  	
  int start , end;
  scanf("%d %d",&start,&end);
  int a[end];
  int x=0;
  for(int i=start;i<=end;i++)
  {
     
      if(i%2!=0)
      {
          a[x]=i;
          x++;
      }
  }
  
  for (int y=0;y<x;y++)
  {
      printf("%d ",a[y]);
  }
  	
  	return 0;
  }
  