"the meal"


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! :slight_smile:


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.:relaxed:



Have fun coding! :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.