Code eg: Multiplication of two variables.
' Declare variables
Dim TotalDamage As Integer = 555
Dim TotalAgility As Integer = 6
' Create the expression
Dim TotalPoints As Integer = TotalDamage * TotalAgility
The expression in this example will evaluate to 3330.
Showing posts with label Multiplication. Show all posts
Showing posts with label Multiplication. Show all posts
Wednesday, October 27, 2010
Arithmetic Operators
The following are arithmetic operators. They may be used in arithmetic expressions (maths problems)
- + Addition Operator
- - Subtraction Operator
- / Division Operator
- * Multiplication Operator
Subscribe to:
Posts (Atom)