Lab #1

1. The Meal – This is informing I would be calculating the total price of the meal. It was straight forward and simple at this step.Screenshot (1)

 

 

 

2. The Tax – Now we have to add the tax to the script. It involved simple math, divide 6.75 by 100.Screenshot (5)

 

 

 

 

3.  The Tip – Here is basically the same process when putting the tax. Calculate the tip by dividing 15.0 by 100.

Screenshot (6)

4. Reassign in a Single Line – This step would be using the value the meal was assigned and the value the tax was assigned. Using these two values we reassigning the variables in meal.

Screenshot (7)

 

 

 

 

 

5. The Total – In this final step we would calculating the total cost the meal. Now we would use the tip and use the variable total. Screenshot (9)