You're welcome!
No matter what you put into the for loop, it will be looped for specified number of times (or before specified condition). So, yes, second for loop will be executed 10 times for each...
Type: Posts; User: angstrem
You're welcome!
No matter what you put into the for loop, it will be looped for specified number of times (or before specified condition). So, yes, second for loop will be executed 10 times for each...
1)
int product = r * c;
if (product < 10) {
System.out.print(" " + product + " ");
} else {
System.out.print(product + " ");
}