Write a program to find given range of a number is odd or even
#include<iostream>
using namespace std;
int main()
{
int min,max,i,j;
cout<<"enter the range of number : ";
cin>>min>>max;
for(i=min; i<=max; i++)
{
if(i%2==0)
{
cout<<"even number"<<i<<endl;
}
else
{
cout<<"odd number"<<i<<endl;
}
}
return 0;
}