Lab 1

Description: 

In this lab using www.codecademy.com, I created a list of codes in order to calculate tips.

lab1 pic 1

In the first picture I gave the value of 44.50, since the given scenario was that the restaurants computer was down and you had to calculate the meal, tax and tip.

lab1 pic 2lab1 pic 3

In the next two given pictures I continues giving tax and tip value so then later on I could be able to calculate the total of tip, tax and meal.

lab1 pic 4

In this last picture total was given the value of meal + tip + tax and by printing out the total the final answer was given.

 

Leave a Reply

Your email address will not be published. Required fields are marked *