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

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

LANGUAGE: JAVA

CHALLENGE:

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

SOLUTION:

for (int n = 11; n <= 121; n = n + 2) System.out.print(n + " ");

Add comment