A naming convention To distinguish personally defined functions from built-in functions and variables, we will begin their names with a capital letter . If I forget to do so, please remind me. Self-test Activity 4 Open the Workbook document and complete this learning activity. Click here to open the document workbook.htm . One of the most noticeable aspects of function names is that they usually contain parentheses.
Parameters are values that the function uses.
This creates a new function by the name of cubit, and delimits the start of the block of code. This ends the block of code that makes up the body of the function. Print the original value and the value returned by the function. This may seem complicated at first, but it is extremely important. Go over this code a few times, then try the following program.