Print the result in specified format
Console . Write ( " STRNEWLINE " + setw ( 3 ) + " ▁ " ) ; for ( int i = 0 ; i < n ; i ++ ) Console . Write ( setw ( 3 ) + " ( " + i + " ) " ) ; Console . Write ( " STRNEWLINE STRNEWLINE " ) ; for ( int i = 0 ; i < n ; i ++ ) { Console . Write ( setw ( 4 ) + " ( " + i + " ) " ) ; for ( int j = 0 ; j < n ; j ++ ) Console . Write ( setw ( 5 ) + mat [ i , j ] ) ; Console . Write ( " STRNEWLINE " ) ; } } static String setw ( int n ) { String space = " " ; while ( n -- > 0 ) space += " ▁ " ; return space ; }