1
00:00:01,070 --> 00:00:03,260
Hey, guys, welcome back to the course.

2
00:00:03,980 --> 00:00:08,060
So in the last class, we talked about automatic operator.

3
00:00:08,600 --> 00:00:12,320
Now in this class, you talk about relational operators.

4
00:00:13,310 --> 00:00:13,570
OK.

5
00:00:15,320 --> 00:00:17,840
So we are having relational operator.

6
00:00:25,860 --> 00:00:29,710
So relational operators are used to compared to numbers.

7
00:00:30,370 --> 00:00:30,650
OK.

8
00:00:30,970 --> 00:00:38,200
So if we wondered, so if we want to compare two numbers, we will use relational operators, for example,

9
00:00:39,040 --> 00:00:39,820
is a grid.

10
00:00:39,850 --> 00:00:42,970
Then our request to be is a grid.

11
00:00:43,000 --> 00:00:45,640
Then B is a list.

12
00:00:45,660 --> 00:00:48,930
10 articles to be is a list.

13
00:00:48,940 --> 00:00:49,540
Then B.

14
00:00:50,860 --> 00:00:52,570
And we are having two more operators.

15
00:00:52,960 --> 00:00:57,790
So is a quiz to be so venu, right?

16
00:00:58,030 --> 00:00:58,910
Equals B.

17
00:00:59,350 --> 00:01:04,050
So the value of B is cooperating to a certain check, whether equals B?

18
00:01:04,190 --> 00:01:05,020
We have two, right?

19
00:01:05,170 --> 00:01:06,040
Double equals two.

20
00:01:07,480 --> 00:01:13,330
And the last operator and the last relation operator that we are having is a nautical to be.

21
00:01:14,320 --> 00:01:15,700
So basically negation of this.

22
00:01:16,060 --> 00:01:16,330
OK.

23
00:01:16,690 --> 00:01:18,220
So is in articles to be.

24
00:01:18,520 --> 00:01:21,250
So in total we are having six relational operators.

25
00:01:23,950 --> 00:01:26,590
So where this relation operator will return?

26
00:01:27,630 --> 00:01:31,530
So in case of automatic operator, when we do integer plus integer.

27
00:01:31,970 --> 00:01:33,320
So my output is integer.

28
00:01:34,140 --> 00:01:41,940
But in this case, relational operators will return me a boolean value, which will be either true or

29
00:01:42,060 --> 00:01:42,540
false.

30
00:01:43,220 --> 00:01:43,460
Okay.

31
00:01:43,710 --> 00:01:48,360
So relational operators will have done me a boolean value, which can be true or false.

32
00:01:48,840 --> 00:01:51,930
And in total, I am having six relational operators.

33
00:01:54,600 --> 00:01:54,850
OK.

34
00:01:55,200 --> 00:01:56,850
So let's write code for it.

35
00:02:04,580 --> 00:02:05,770
Let's name this fire.

36
00:02:05,800 --> 00:02:06,320
Les.

37
00:02:10,490 --> 00:02:11,450
Relationally.

38
00:02:14,180 --> 00:02:15,290
Not CBB.

39
00:02:26,380 --> 00:02:27,490
Hedging lord.

40
00:02:30,330 --> 00:02:31,160
I stream.

41
00:02:34,580 --> 00:02:41,270
Using namespace as G.D. Saiman column and domain.

42
00:02:44,900 --> 00:02:46,520
And here is made it done statement.

43
00:02:50,270 --> 00:02:55,190
OK, so I need two numbers and I g.

44
00:02:55,610 --> 00:02:59,150
And let's take the value of I NJ in Burundi, use it.

45
00:03:01,310 --> 00:03:05,810
OK, so Boole.

46
00:03:08,650 --> 00:03:10,330
Boole is a cool.

47
00:03:13,510 --> 00:03:17,250
So what I will check is I go to J.

48
00:03:24,120 --> 00:03:27,840
And then I will print out.

49
00:03:31,120 --> 00:03:31,720
As equal.

50
00:03:36,160 --> 00:03:36,340
OK.

51
00:03:36,540 --> 00:03:37,560
So what is happening here?

52
00:03:39,300 --> 00:03:44,970
This is my condition, is I ecological g that this condition will be true or this condition will be

53
00:03:45,030 --> 00:03:45,420
false?

54
00:03:45,880 --> 00:03:46,110
OK.

55
00:03:46,410 --> 00:03:46,880
So that.

56
00:03:47,030 --> 00:03:51,780
So the value of this expression, will a day be true or the value of the expression can be false.

57
00:03:52,290 --> 00:03:53,980
And that will be stored in is equal.

58
00:03:54,000 --> 00:03:56,160
And then I am branding is equal.

59
00:03:56,760 --> 00:03:56,940
OK.

60
00:03:57,000 --> 00:03:57,990
So let's see.

61
00:04:02,250 --> 00:04:07,850
OK, so suppose my value of AI is ten and the value of JS ten.

62
00:04:09,150 --> 00:04:12,510
So one is getting branded, one means true and zero means false.

63
00:04:12,930 --> 00:04:15,000
So yes, ten is it close to ten.

64
00:04:16,950 --> 00:04:17,960
So yes, ten is equal.

65
00:04:17,960 --> 00:04:19,500
Shouldn't it out for this one.

66
00:04:25,130 --> 00:04:28,320
Led to the Valley of Fire is one and the Valley of J.s to.

67
00:04:30,050 --> 00:04:33,520
So one is an article to some out protest zero.

68
00:04:39,630 --> 00:04:41,570
OK, so I have written some court here.

69
00:04:42,120 --> 00:04:48,870
So first time checking is equal as I was equal G then not equal in articles to J.

70
00:04:49,220 --> 00:04:49,590
I agree.

71
00:04:49,620 --> 00:04:50,210
Then J.

72
00:04:50,310 --> 00:04:55,610
I agreed, then order articles to j i listin g i elastin articles to G.

73
00:04:56,100 --> 00:04:58,980
And in this boolean variables I am storing the value.

74
00:04:59,070 --> 00:05:01,000
I'm storing there isn't true or false.

75
00:05:01,410 --> 00:05:03,560
And then I am printing is equal.

76
00:05:04,880 --> 00:05:08,310
An article then is not equal.

77
00:05:08,460 --> 00:05:11,160
Is less is less than articles two.

78
00:05:11,780 --> 00:05:11,980
OK.

79
00:05:12,090 --> 00:05:14,180
So let's run it.

80
00:05:15,900 --> 00:05:20,370
So let's say the value of AI is tool and the value of JS for.

81
00:05:22,310 --> 00:05:24,340
So extremely close to forward.

82
00:05:24,470 --> 00:05:27,430
No, it's still not close to four.

83
00:05:27,590 --> 00:05:28,030
Yes.

84
00:05:28,560 --> 00:05:29,710
Is stronger than four.

85
00:05:29,830 --> 00:05:30,240
Yes.

86
00:05:30,890 --> 00:05:31,540
Is truly good.

87
00:05:31,580 --> 00:05:32,630
They're not close to four.

88
00:05:32,890 --> 00:05:33,400
Yes.

89
00:05:34,330 --> 00:05:34,730
Is true.

90
00:05:34,730 --> 00:05:35,660
In less than four.

91
00:05:35,780 --> 00:05:36,220
No.

92
00:05:37,130 --> 00:05:37,920
Is to a list.

93
00:05:37,920 --> 00:05:38,270
An order.

94
00:05:38,270 --> 00:05:38,990
Close to four.

95
00:05:39,170 --> 00:05:39,560
No.

96
00:05:40,890 --> 00:05:42,840
OK, so let's run it for.

97
00:05:43,380 --> 00:05:44,580
Let's run it one more time.

98
00:05:45,970 --> 00:05:50,650
So let's say the value of AI is five and the value of J.s also five.

99
00:05:52,300 --> 00:05:53,890
So is Phifer close to five?

100
00:05:54,080 --> 00:05:55,540
Yes, it's five.

101
00:05:55,570 --> 00:05:56,710
Nathi close to five.

102
00:05:56,920 --> 00:05:57,310
No.

103
00:05:58,200 --> 00:05:58,480
Five.

104
00:05:58,490 --> 00:05:59,220
Guerdon five.

105
00:05:59,440 --> 00:06:00,870
No, it's five.

106
00:06:00,910 --> 00:06:02,590
Guerdon ordered close to five.

107
00:06:02,800 --> 00:06:03,280
Yes.

108
00:06:04,060 --> 00:06:05,980
So is five less than five.

109
00:06:06,250 --> 00:06:06,610
No.

110
00:06:07,210 --> 00:06:09,400
Is five less than Orquesta five.

111
00:06:10,000 --> 00:06:10,450
Yes.

112
00:06:11,770 --> 00:06:12,050
OK.

113
00:06:12,340 --> 00:06:15,070
So this is how our relational operators work.

114
00:06:15,700 --> 00:06:17,050
So this is it for this video.

115
00:06:17,350 --> 00:06:18,430
I will see you in the next one.

116
00:06:18,820 --> 00:06:19,600
Thanks for watching.
