outer_loop(0 < max_row) { inner_loop(0 < max_col) { if(outer_loop iterator is 0 or max_row - 1) // output a single '*'...
Separate names with a comma.