You are viewing a single comment's thread. Return to all comments →
for (int j = 0; j < n; j++) { a += b; System.out.print(a + " "); b *= 2; } System.out.println();
Java Loops II
You are viewing a single comment's thread. Return to all comments →
for (int j = 0; j < n; j++) { a += b; System.out.print(a + " "); b *= 2; } System.out.println();