Printing the final answer
Console . Write ( " Minimum ▁ Penalty ▁ in ▁ aligning ▁ the ▁ genes ▁ = ▁ " + dp [ m , n ] + " STRNEWLINE " ) ; Console . Write ( " The ▁ aligned ▁ genes ▁ are ▁ : STRNEWLINE " ) ; for ( i = id ; i <= l ; i ++ ) { Console . Write ( ( char ) xans [ i ] ) ; } Console . Write ( " STRNEWLINE " ) ; for ( i = id ; i <= l ; i ++ ) { Console . Write ( ( char ) yans [ i ] ) ; } return ; }