answer to da 10th quiz: mathematically it evaluates to b; however there is a serious issue: at the variable n (as @changemymind correctly said) is never initialized which leaves the code without any input data, therefore im need to add the line cin >> n; at line 22