logo CodeStepByStep logo

tableOutput

Language/Type: Java expressions %

What output is produced by the following code? (Assume that tabs align output in regions of 4 spaces.)

for (int i = 1; i <= 10; i++) {
    for (int j = 1; j <= 10; j++) {
        System.out.print(i * j + "\t");
    }
    System.out.println();
}
output

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.