Presentation is loading. Please wait.

Presentation is loading. Please wait.

Arithmetic Operators. Operators In Programming Most computer programming languages use the following symbols for their operators: +  add -  subtract.

Similar presentations


Presentation on theme: "Arithmetic Operators. Operators In Programming Most computer programming languages use the following symbols for their operators: +  add -  subtract."— Presentation transcript:

1 Arithmetic Operators

2 Operators In Programming Most computer programming languages use the following symbols for their operators: +  add -  subtract *  multiply /  divide ^  exponent

3 BEDMAS Programming languages use the same order of operations as you learn in math class: B – brackets E – exponents D – division M – multiplication A – addition S - subtraction

4 Practice Questions 1. 2 + 3 * 2 2. 10 – 8/2 3. 20 – 2^3

5 Practice Questions 4. 3 + 3^2 5. 9 / (1 + 2) 6. 3 + 10/2 – 2^2

6 Complete the Handout Do not open VB until you have completed steps 1 and 2 on the handout. On the last step (3), you will create a program in VB (make the interface first). The interface contains EIGHT labels. The first four should be called “lblquestion1”, etc. And the second four should be called “lblanswer1”, etc. Name the button btncalculate and then type the mathematical expressions in the appropriate spot for the code.


Download ppt "Arithmetic Operators. Operators In Programming Most computer programming languages use the following symbols for their operators: +  add -  subtract."

Similar presentations


Ads by Google