Nested for loops.
for (int i = 1; i <=12; i++) {
for (int j = 1; j <= 12; j++) {
System.out.printf("%d * %d = %d\n", i, j, i*j);
}
}
You read that title right. We live in a simulation. Nothing is real. It's as real as you want it to be. But that doesn't mean it...
No comments:
Post a Comment