Open the L5Practice scene; create a new C# script (called Operators) in your Scripts folder
Watch "Operators"; the first 6 minutes focus on him talking about what some of the operators mean; just watch and you'll practice after this point in the video - Click the video on the right
Skip the Challenge in the last part of the video
Assignment:
Open your L5Assignments scene
Create a new C# Script (called tipCalculator) in your Scripts folder
For this assignment, you will create a tip calculator (for when someone goes to a restaurant and you want to figure out how much to tip the server). You will create variables for the balance (of the bill) and for a percentage of the tip (which would be entered as a decimal by the user). See Illustration 1 to see how it will look in your Inspector Window. You will then come up with scripting that multiplies these two variables to come up with the suggested tip to be given. The amount of the tip should be printed to the console once the cube is updated. It will print as follows: You should tip _________ dollars based on your bill at the restaurant. See Illustration 2 to see how this will look.