Home Segments Index Top Previous Next

59: Mainline

You arrange for basic arithmetic calculations using the +, -, *, and / messages for addition, subtraction, multiplication, and division:

6 + 3           <-- Add 3, answering 9 
6 - 3           <-- Subtract 3, answering 3 
6 * 3           <-- Multiply by 3, answering 18 
6 / 3           <-- Divide by 3, answering 2