So one for loop, the outer loop, counts the variable 'number' from 1 through 9. That's useful. What could the inner loop do? Perhaps it could take the 'number,' square it, and print it some number...
Type: Posts; User: GregBrannon
So one for loop, the outer loop, counts the variable 'number' from 1 through 9. That's useful. What could the inner loop do? Perhaps it could take the 'number,' square it, and print it some number...
Write the for loop. Think about where it starts ( 1, 2, 3, 4, 5, . . . ) - pretty standard - and the upper limit of each starting point. I can't believe you can't get the basic structure of the for...
Here's the main idea: "Using nested for loops." Can you write a for loop? Try writing one or two to get this program going.