Evaluation of 3 rd operator
if ( k == 3 ) { if ( operators [ k - 1 ] == ' + ' ) ans2 += ans1 + stol ( operands [ k ] ) ; if ( operators [ k - 1 ] == ' - ' ) ans2 -= ans1 - stol ( operands [ k ] ) ; } k ++ ; } }