Write a for loop that prints the integers 0 through 39, separated by spaces.
LANGUAGE: JAVA
CHALLENGE:
Write a for loop that prints the integers 0 through 39, separated by spaces.
SOLUTION:
for (int n = 0; n < 40; n++) System.out.print(n + " ");
Posted in Java, Learn To Code