filmov
tv
VBScript Part 3A Operators_Arithematic & Comparision Operators

Показать описание
In this video we have covered
Agenda Part 3
1. What is an operator ?
2. What are different types of Operators ?
1A. Operator is something which performs Operations / performs a task
Eg '+' 1 + 2 here 1, 2 are called 'operands' and + is an operator.
2A. We have different types of operators
i. Arithematic Operators
a. '+' This operation is Addition Eg: a = 2, b=3 c = a+b ..... O/p = 5
b. '-' This operation is Subtraction Eg: a = 3, b=2 c = a-b ..... O/p = 1
c. '*' This operation is Multiplication Eg: a = 3, b=2 c = a*b ..... O/p = 6
d. '/' This operation is Division Eg: a = 4, b=2 c = a/b ..... O/p = 2
e. '%' Modulus Eg: a = 12, b=10 c = b mod a ..... O/p = 2
f. '^' Exponent Eg: a = 4, b=2 c = a^b ..... O/p = 16
ii. Comparison Operators
a. '=' - Equal To - This operators checks whether a=b Eg: a = 2, b=3 a=b ..... false
b. ' Not Equal - to This operators checks Eg: a = 2, b=3 a not equal to b ..... true
c. Greater Than - This operators checks Eg: a = 2, b=3 a greater than b ..... false
d. Lesser Than - This operators checks Eg: a = 2, b=3 a lesser than b ..... true
e. Greater Than or Equal To - This operators checks Eg: a = 2, b=3 a Greater Than or Equal To b ..... false
f. Lesser Than or Equal To - This operators checks whether Eg: a = 2, b=3 a Lesser Than or Equal To b ..... true
#YouTube #YouTuber #AzharTechnoCoder
Agenda Part 3
1. What is an operator ?
2. What are different types of Operators ?
1A. Operator is something which performs Operations / performs a task
Eg '+' 1 + 2 here 1, 2 are called 'operands' and + is an operator.
2A. We have different types of operators
i. Arithematic Operators
a. '+' This operation is Addition Eg: a = 2, b=3 c = a+b ..... O/p = 5
b. '-' This operation is Subtraction Eg: a = 3, b=2 c = a-b ..... O/p = 1
c. '*' This operation is Multiplication Eg: a = 3, b=2 c = a*b ..... O/p = 6
d. '/' This operation is Division Eg: a = 4, b=2 c = a/b ..... O/p = 2
e. '%' Modulus Eg: a = 12, b=10 c = b mod a ..... O/p = 2
f. '^' Exponent Eg: a = 4, b=2 c = a^b ..... O/p = 16
ii. Comparison Operators
a. '=' - Equal To - This operators checks whether a=b Eg: a = 2, b=3 a=b ..... false
b. ' Not Equal - to This operators checks Eg: a = 2, b=3 a not equal to b ..... true
c. Greater Than - This operators checks Eg: a = 2, b=3 a greater than b ..... false
d. Lesser Than - This operators checks Eg: a = 2, b=3 a lesser than b ..... true
e. Greater Than or Equal To - This operators checks Eg: a = 2, b=3 a Greater Than or Equal To b ..... false
f. Lesser Than or Equal To - This operators checks whether Eg: a = 2, b=3 a Lesser Than or Equal To b ..... true
#YouTube #YouTuber #AzharTechnoCoder