So I need to make it start from 1 and go up by odds so like 1 3 5 7
and I need to make it stop before it reaches the integer value

cout << "Loop 3: ";
for(i=1; i>=integer; i+= 2)
{
cout << i << " ";
}


it works but doesnt stop