c++ Program to print ODD numbers from 1 to 10
# include
using namespace std;
int main( )
{
int i;
for (i=1; i<=10; i+=2)
cout<<i<<" ";
return 0;
}
The Way to Programming
c++ Program to print ODD numbers from 1 to 10
# include
using namespace std;
int main( )
{
int i;
for (i=1; i<=10; i+=2)
cout<<i<<" ";
return 0;
}