Logical Operator

2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€46.91
List Price:  €65.68
You save:  €18.77
£40.47
List Price:  £56.66
You save:  £16.19
CA$68.51
List Price:  CA$95.92
You save:  CA$27.41
A$77.48
List Price:  A$108.49
You save:  A$31
S$68.13
List Price:  S$95.39
You save:  S$27.25
HK$391.71
List Price:  HK$548.43
You save:  HK$156.71
CHF 45.59
List Price:  CHF 63.83
You save:  CHF 18.24
NOK kr550.63
List Price:  NOK kr770.92
You save:  NOK kr220.29
DKK kr350.03
List Price:  DKK kr490.07
You save:  DKK kr140.04
NZ$84.59
List Price:  NZ$118.44
You save:  NZ$33.84
د.إ183.59
List Price:  د.إ257.05
You save:  د.إ73.45
৳5,482.14
List Price:  ৳7,675.43
You save:  ৳2,193.29
₹4,166.70
List Price:  ₹5,833.71
You save:  ₹1,667.01
RM238.95
List Price:  RM334.55
You save:  RM95.60
₦62,835.43
List Price:  ₦87,974.63
You save:  ₦25,139.20
₨13,901.61
List Price:  ₨19,463.37
You save:  ₨5,561.75
฿1,851.47
List Price:  ฿2,592.21
You save:  ฿740.74
₺1,629.79
List Price:  ₺2,281.84
You save:  ₺652.04
B$258.27
List Price:  B$361.60
You save:  B$103.33
R961.74
List Price:  R1,346.51
You save:  R384.77
Лв91.64
List Price:  Лв128.31
You save:  Лв36.66
₩68,881.10
List Price:  ₩96,439.05
You save:  ₩27,557.95
₪189.07
List Price:  ₪264.71
You save:  ₪75.64
₱2,877.02
List Price:  ₱4,028.06
You save:  ₱1,151.03
¥7,738.45
List Price:  ¥10,834.45
You save:  ¥3,096
MX$855.86
List Price:  MX$1,198.27
You save:  MX$342.41
QR182.16
List Price:  QR255.04
You save:  QR72.88
P691.87
List Price:  P968.68
You save:  P276.80
KSh6,723.65
List Price:  KSh9,413.65
You save:  KSh2,690
E£2,403.50
List Price:  E£3,365.09
You save:  E£961.59
ብር2,843.66
List Price:  ብር3,981.35
You save:  ብር1,137.69
Kz41,738.73
List Price:  Kz58,437.56
You save:  Kz16,698.83
CLP$47,621.97
List Price:  CLP$66,674.57
You save:  CLP$19,052.60
CN¥362.26
List Price:  CN¥507.20
You save:  CN¥144.93
RD$2,946.71
List Price:  RD$4,125.63
You save:  RD$1,178.92
DA6,722.05
List Price:  DA9,411.41
You save:  DA2,689.36
FJ$113.84
List Price:  FJ$159.39
You save:  FJ$45.54
Q388.60
List Price:  Q544.08
You save:  Q155.47
GY$10,450.72
List Price:  GY$14,631.85
You save:  GY$4,181.12
ISK kr7,051.58
List Price:  ISK kr9,872.78
You save:  ISK kr2,821.20
DH506.54
List Price:  DH709.20
You save:  DH202.65
L891.33
List Price:  L1,247.93
You save:  L356.60
ден2,887.76
List Price:  ден4,043.10
You save:  ден1,155.33
MOP$403.15
List Price:  MOP$564.45
You save:  MOP$161.29
N$953.60
List Price:  N$1,335.12
You save:  N$381.51
C$1,838.47
List Price:  C$2,574.01
You save:  C$735.53
रु6,662.39
List Price:  रु9,327.88
You save:  रु2,665.49
S/184.06
List Price:  S/257.70
You save:  S/73.64
K189.83
List Price:  K265.79
You save:  K75.95
SAR187.50
List Price:  SAR262.52
You save:  SAR75.01
ZK1,289.99
List Price:  ZK1,806.09
You save:  ZK516.10
L233.45
List Price:  L326.86
You save:  L93.40
Kč1,185.36
List Price:  Kč1,659.60
You save:  Kč474.24
Ft18,487.45
List Price:  Ft25,883.91
You save:  Ft7,396.45
SEK kr544.30
List Price:  SEK kr762.07
You save:  SEK kr217.76
ARS$43,604.59
List Price:  ARS$61,049.92
You save:  ARS$17,445.32
Bs346.40
List Price:  Bs484.99
You save:  Bs138.58
COP$195,320.69
List Price:  COP$273,464.60
You save:  COP$78,143.90
₡25,002.29
List Price:  ₡35,005.20
You save:  ₡10,002.91
L1,233.13
List Price:  L1,726.48
You save:  L493.35
₲370,137.26
List Price:  ₲518,221.78
You save:  ₲148,084.52
$U1,925.98
List Price:  $U2,696.53
You save:  $U770.54
zł202.69
List Price:  zł283.79
You save:  zł81.09
Already have an account? Log In

Transcript

Okay, in our programming we have this logical operator. So logical operator, let's say this is true. This is true. Okay? Let's say this is false. Can I see is the operator so variable one and variable two.

So let's say I try a and I run the whole program. So I should get false. So if I say the variable one is false, then the robot we saw true. Control a and run. So you also be false. So let's say I have them up false.

And country and run. You will be false. Any both of them are true. He will be true Okay, so run and they will be true so far and operate. So far these are the row one and row two must be true and He will give us true. If one of them are either one or Emmys false, he will give us a false if both of them are false, it will also give us a false.

So let's say now I change this to from an operator to operator. Okay, I he both are true. It should kumea true. Okay, if I say first variable is false, it should be true. So let's say a variable is true. second variable boy is boss Danish gave me a true also if both are false, they will give me false.

Okay so far operate. If one is true, any true value. If are both of these is true, then you will also give me a true value

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.