Consider the following nested loop structure:
for (int i = 1; i <= size; i++) {
for (int j = 1; j <= size; j++) {
System.out.print("*");
}
System.out.println();
}
What will be the output if size is set to 3?
Consider the following nested loop structure:
for (int i = 1; i <= size; i++) {
for (int j = 1; j <= size; j++) {
System.out.print("*");
}
System.out.println();
}
What will be the output if size is set to 3?