Why is the code in line 7 & 8 written as meal + meal?


#1



Replace this line with your code.


#2

because you want to update the meal variable? The value should be the current value in meal + meal * tip (or tax)

order of operation, multiplying before sum.


#3

Ahhh thank you - makes perfect sense now.