Exercise on Functions
Using Eclipse do the following:
1\. Get an operation using io.read() operations are add, sub, mul, div
- Save the operation in a table
2\. Get two numbers from the user using io.read()
- Save the operands in a table
3\. Create a function that will perform the operation
- The first number will be the numerator for division
- If division will divide by zero then return a nil
- otherwise return the result
4\. Save the result
- If there was an error then give an error message (in case of div by 0)
5\. print out the result and ask the user for another operation and one number
- The result of the last operation will be the other number (the first)
6\. Continue this looping until the user enters bye as the operation
7\. Output all of the operations and operands in an understandable format to the console
- Using print()
- include the total
6\. do some calls to exercise your function
7\. Single step through the code using the Eclipse Debugger
```