C - Operators and Expressions
Given the code below, what is the final value of
total?int total = 50;
int discount = 10;
total -= discount * 2;
total += 5;
total?int total = 50;
int discount = 10;
total -= discount * 2;
total += 5;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions