How do you do the multiplication table from 0 - 10 with nested loops ?

for i=1..10 {print i} /* print the column headers */

for i=1..10 {
print i /* number the rows 1-10 */
for j=1..10 {print i*j}
print "\n" /* go to next row */
}

use a print statement that does not implicitly include a newline
use a formatted print so the digits line up correctly