"the meal"


#1

Will someone please explain to me this exercise (the meal) I cannot understand the code to be used.


#2

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:


#3

Why does everyone do
tip = meal + (meal*0.15)
???????


#4

Please, could you be clearer on this? Why does everyone do

as against what?


#5

I have understood my mistake.Thank you for your help.:relaxed:


#6

Okay!

Have fun coding! :slight_smile:


#7

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