/******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
using namespace std;
void odd(int a,int b){
cout<<"Odd Values are : ";
int i = a;
while(i!=b){
if(i%2 != 0){
cout<<i<<" ";
}
i++;
}
}
int main()
{
int x,y;
cout<<"Enter min value : ";
cin>>x;
cout<<"Enter max value : ";
cin>>y;
odd(x,y);
return 0;
}