Will someone please explain to me this exercise (the meal) I cannot understand the code to be used.
Okay, the instruction says:
First, let's declare the variable meal and assign it the value 44.50.
You declare a variable by writing it down (meal), and then, you assign it (use equal to sign) the value 44.50.
I hope this helps!
Why does everyone do
tip = meal + (meal*0.15)
Please, could you be clearer on this? Why does everyone do
as against what?
I have understood my mistake.Thank you for your help.
Have fun coding!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.