Write a for loop that prints the odd integers 11 through 121 inclusive, separated by spaces.

LANGUAGE: C++

CHALLENGE:

Write a for loop that prints the odd integers 11 through 121 inclusive, separated by spaces.

SOLUTION:


for (int i=11; i<=121; i++){
    if ((i%2)!=0){
        cout << i << " ";
    }
}