VB - Basic Operators, Arrays & Making Decision

Page 1

BASIC OPERATORS  Visual Basic also provides operators for

mathematical, comparison and logical calculation. In general, the program evaluates mathematical expressions in the following order:  From left to right  Follows the rules of precedence from basic math

 Here is the list, from highest precedence to lowest:     

Exponentiation (^) Multiplication and division (*, /) Integer Division (\) Modulus (Mod) Addition and subtraction (+, -)


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.