Append ' F ' for an odd number
String odd = ans + ' F ' ; Console . Write ( " Even : ▁ " + even + " STRNEWLINE " ) ; Console . Write ( " Odd : ▁ " + odd + " STRNEWLINE " ) ; } private static String strings ( int n , char c ) { String str = " " ; for ( int i = 0 ; i < n ; i ++ ) str += c ; return str ; }