1
00:00:03,610 --> 00:00:04,240
Hello, guys.

2
00:00:04,330 --> 00:00:05,490
Welcome back to the calls.

3
00:00:05,890 --> 00:00:10,820
So I felt that the last blast was a little bit boring as we only discussed tutee materials.

4
00:00:10,940 --> 00:00:12,430
Glass is going to be interesting.

5
00:00:12,790 --> 00:00:17,110
So today we'll learn more about flowchart and we'll solve a few problem.

6
00:00:17,620 --> 00:00:21,280
So we've already discussed in beef about flowchart in the last lesson.

7
00:00:21,550 --> 00:00:22,870
We will continue from that.

8
00:00:23,350 --> 00:00:26,260
OK, so what is a flowchart?

9
00:00:26,650 --> 00:00:36,820
So I have told you that it is a diagrammatic or you can see a pictorial representation of the steps

10
00:00:37,270 --> 00:00:42,760
that V for Lord to solve a problem.

11
00:00:44,020 --> 00:00:46,930
And we show these steps and boxes of various shapes.

12
00:00:47,970 --> 00:00:48,240
OK.

13
00:00:48,700 --> 00:00:51,930
So let us discuss about components of a flowchart.

14
00:00:53,020 --> 00:01:04,930
So if we have Overlordship, so it represent initialised or a Terminator example start, then we have

15
00:01:05,240 --> 00:01:06,290
belowground shape.

16
00:01:06,820 --> 00:01:12,100
So it represent input and output, input or output.

17
00:01:12,610 --> 00:01:14,350
For example, read.

18
00:01:14,590 --> 00:01:22,100
And then we have a rectangle shape and represent process.

19
00:01:22,770 --> 00:01:26,560
An example led I equals one.

20
00:01:28,450 --> 00:01:32,830
Then we have Diemen Chip represent a condition.

21
00:01:33,630 --> 00:01:35,410
You can see our decision.

22
00:01:36,640 --> 00:01:40,030
Let's talk about example is a good.

23
00:01:40,120 --> 00:01:40,720
Then do.

24
00:01:43,270 --> 00:01:45,250
Then we have arrows.

25
00:01:48,010 --> 00:01:55,660
And then we have connectors, so why are connectors used, for example, your flowchart is very big

26
00:01:55,720 --> 00:01:57,870
and it is not fitting in a single page.

27
00:01:58,150 --> 00:02:02,110
So with the help of Connectors, we can continue our flowchart from the next page.

28
00:02:02,710 --> 00:02:04,150
So I have a question for you.

29
00:02:04,450 --> 00:02:10,390
The question is, processa is running in both these cases, whether you are taking input or are giving

30
00:02:10,390 --> 00:02:16,000
output, audio output in something processor run in both these cases.

31
00:02:16,630 --> 00:02:18,730
So why I am having the friendship.

32
00:02:19,750 --> 00:02:20,950
The answer is very simple.

33
00:02:21,490 --> 00:02:24,400
This is known as reading process.

34
00:02:25,490 --> 00:02:31,370
We're doing process and this is known as active process.

35
00:02:32,150 --> 00:02:36,710
So in the vetting process, if the user is not getting their input, you can't proceed ahead.

36
00:02:37,160 --> 00:02:40,690
So in other words, we can say it depends upon use.

37
00:02:40,690 --> 00:02:43,880
It depends on user.

38
00:02:44,660 --> 00:02:49,970
And it doesn't depend on user.

39
00:02:50,300 --> 00:02:52,070
So that's why we have the friendship.

40
00:02:52,700 --> 00:02:54,080
OK, great.

41
00:02:55,790 --> 00:02:57,820
So that was all theory about flowchart.

42
00:02:58,130 --> 00:03:01,700
Now we will solve your problems to get a better understanding of flowchart.

43
00:03:03,390 --> 00:03:09,210
So problem number one, I read Principal I.

44
00:03:10,520 --> 00:03:15,500
Time and Brent, simple interest.

45
00:03:16,310 --> 00:03:17,930
We have to draw the flowchart for the same.

46
00:03:18,380 --> 00:03:20,160
OK, so let us draw the flowchart.

47
00:03:23,390 --> 00:03:25,790
So I will start by flowchart.

48
00:03:26,960 --> 00:03:31,640
Then I have to read three numbers B, R and D, principle rate and time.

49
00:03:32,240 --> 00:03:42,000
So read principal rate and time, B, R and D are variables in which I will store the value of principal

50
00:03:42,020 --> 00:03:43,910
rate and time given by user.

51
00:03:44,600 --> 00:03:52,680
Then I have to calculate the simple interest, which is it goes to B multiply are multiplied by D or

52
00:03:52,680 --> 00:03:53,720
divided by a hundred.

53
00:03:54,260 --> 00:03:58,370
Essay is also a variable which will store the value of simple interest.

54
00:03:58,880 --> 00:04:01,590
Then we have to print simple interest.

55
00:04:02,840 --> 00:04:04,570
So we have printed the simple interest.

56
00:04:04,850 --> 00:04:05,810
Our work is over.

57
00:04:06,170 --> 00:04:07,520
Now we will end our program.

58
00:04:07,880 --> 00:04:10,040
So and so.

59
00:04:10,040 --> 00:04:11,180
This will be the flowchart.

60
00:04:11,510 --> 00:04:13,040
So let us advise what we have done.

61
00:04:13,340 --> 00:04:18,380
So the question asked us to read, principal read and time and print simple interest.

62
00:04:19,130 --> 00:04:20,480
So we start our program.

63
00:04:20,930 --> 00:04:22,280
Then we read two numbers.

64
00:04:22,340 --> 00:04:23,480
Principal rate and time.

65
00:04:23,780 --> 00:04:29,120
B, R and D are three variables which will store the value of principal date and time given by user.

66
00:04:29,570 --> 00:04:34,100
Then calculating why simple interest using this formula, then printing my simple interest.

67
00:04:34,490 --> 00:04:36,650
Now, at this point of time, my work is over.

68
00:04:36,740 --> 00:04:38,090
So I'm ending my flowchart.

69
00:04:38,780 --> 00:04:39,020
Okay.

70
00:04:39,110 --> 00:04:39,860
So let us all.

71
00:04:39,950 --> 00:04:40,670
And the problem.

72
00:04:44,080 --> 00:04:45,250
So problem number two.

73
00:04:46,360 --> 00:04:48,610
So the question is, I have to read a five.

74
00:04:48,690 --> 00:04:51,970
No, I read five.

75
00:04:52,000 --> 00:04:52,350
No.

76
00:04:53,560 --> 00:04:59,690
And printed their average print, their average.

77
00:05:00,730 --> 00:05:02,800
So I have to draw the flowchart for the same.

78
00:05:03,520 --> 00:05:03,800
OK.

79
00:05:04,300 --> 00:05:05,350
So what will I do?

80
00:05:05,920 --> 00:05:07,780
First of all, I will change the color of my pen.

81
00:05:08,550 --> 00:05:10,390
And then I will start my program.

82
00:05:12,500 --> 00:05:12,700
OK.

83
00:05:12,810 --> 00:05:14,040
So I have to read five numbers.

84
00:05:14,220 --> 00:05:19,660
OK, read A, B, C, D, a..

85
00:05:20,050 --> 00:05:22,470
Let ABC these are my five numbers.

86
00:05:23,280 --> 00:05:24,120
At ABC.

87
00:05:24,210 --> 00:05:27,270
ABC, the other variables that will store the value of five numbers.

88
00:05:27,480 --> 00:05:29,830
Then I will calculate my average using the formula.

89
00:05:30,660 --> 00:05:37,050
A plan B plus C plus D plus E and whole divided by five.

90
00:05:38,010 --> 00:05:39,600
So I have calculated my average.

91
00:05:39,750 --> 00:05:45,480
Now it's time to print the average print average.

92
00:05:46,050 --> 00:05:48,390
So at this point of time, my work goes over.

93
00:05:48,660 --> 00:05:49,360
Now I will.

94
00:05:49,620 --> 00:05:50,540
My flowchart.

95
00:05:52,020 --> 00:05:53,700
So let us revise what we have done.

96
00:05:54,000 --> 00:05:56,370
So the question was we have to read a five number.

97
00:05:56,400 --> 00:05:57,840
And we have to print the average.

98
00:05:58,230 --> 00:05:59,370
So I start my program.

99
00:05:59,670 --> 00:06:00,770
I read five numbers.

100
00:06:00,870 --> 00:06:01,930
ABC, the E!

101
00:06:02,130 --> 00:06:04,320
And then I calculated my average averages.

102
00:06:04,400 --> 00:06:08,310
Also variable here that is storing the value of average than printing average.

103
00:06:08,390 --> 00:06:09,870
Then I'm ending way program.

104
00:06:10,590 --> 00:06:11,580
Okay, great.

105
00:06:12,450 --> 00:06:14,980
So let us discuss the last probably of this lesson.

106
00:06:15,690 --> 00:06:17,310
So problem number three.

107
00:06:18,780 --> 00:06:25,770
So the problem statement is we have to print largest off three numbers given by user.

108
00:06:27,130 --> 00:06:28,390
So let us know that flowchart.

109
00:06:30,890 --> 00:06:32,410
So I will start my flow chart.

110
00:06:33,780 --> 00:06:35,340
Then I have to read the tea numbers.

111
00:06:35,940 --> 00:06:37,860
Let ABC be the tea.

112
00:06:37,860 --> 00:06:41,010
No lead A, B and C..

113
00:06:41,920 --> 00:06:42,200
OK.

114
00:06:44,310 --> 00:06:45,570
So first time checking.

115
00:06:46,870 --> 00:06:50,670
Is eager to then be and eager to Danzy.

116
00:06:51,430 --> 00:06:56,560
So there are two cases, either this condition will be true or this condition will be false.

117
00:06:56,980 --> 00:07:01,440
If this condition is true, that means is the largest number.

118
00:07:01,960 --> 00:07:02,190
OK.

119
00:07:02,290 --> 00:07:03,100
So I will brentley.

120
00:07:04,730 --> 00:07:05,290
Brent A.

121
00:07:08,710 --> 00:07:12,760
Now, the second situation can be this condition is false.

122
00:07:13,150 --> 00:07:15,700
That means it is not the largest number.

123
00:07:16,300 --> 00:07:19,690
Will check for B is bigger than A.

124
00:07:21,230 --> 00:07:23,180
And bigger than see again.

125
00:07:23,800 --> 00:07:28,000
There are two cases in this conditional withdrawal or this condition will be false.

126
00:07:28,400 --> 00:07:32,540
If this condition is true, that means B is the largest number.

127
00:07:32,570 --> 00:07:33,470
So I will print to be.

128
00:07:35,880 --> 00:07:38,660
And the second situation can be this condition is false.

129
00:07:39,680 --> 00:07:41,630
That means B is not the largest number.

130
00:07:41,990 --> 00:07:45,140
So at this point of time is not the largest number.

131
00:07:45,540 --> 00:07:47,090
B is not the largest number.

132
00:07:47,930 --> 00:07:50,960
That means C is the largest number.

133
00:07:51,320 --> 00:07:54,170
OK, so make Pentagram shape because we are printing.

134
00:07:56,260 --> 00:07:56,520
OK.

135
00:07:57,100 --> 00:08:02,560
So it is not the largest number being not the largest number, and that means seas, the largest number.

136
00:08:03,070 --> 00:08:05,460
So we have done what the question asks us to do now.

137
00:08:05,830 --> 00:08:06,590
And our program.

138
00:08:06,740 --> 00:08:06,940
So.

139
00:08:06,940 --> 00:08:07,300
And.

140
00:08:09,090 --> 00:08:12,600
Similarly, after printing, we we have to end our program.

141
00:08:13,110 --> 00:08:14,580
And similarly, after printing.

142
00:08:15,240 --> 00:08:17,260
We have to end our program.

143
00:08:17,460 --> 00:08:18,990
So let us revise what we have done.

144
00:08:19,440 --> 00:08:23,130
So the question was, we have to bring the largest of three numbers.

145
00:08:23,520 --> 00:08:30,570
So I start my program item three, number A, B and C word that ABC, ABC are three variables that will

146
00:08:30,570 --> 00:08:32,000
store the value of T number.

147
00:08:32,490 --> 00:08:32,770
Okay.

148
00:08:33,270 --> 00:08:34,380
So first time checking.

149
00:08:34,530 --> 00:08:39,810
So first of all, I check is eager then B, if this condition is true then it means ethologist numbers.

150
00:08:39,810 --> 00:08:40,470
I am printing.

151
00:08:40,650 --> 00:08:42,120
And then I'm ending my program.

152
00:08:42,690 --> 00:08:44,400
If this is not true, that means it is not.

153
00:08:44,400 --> 00:08:49,530
The largest number that I am checking for me is B the largest number in this condition will be true

154
00:08:49,620 --> 00:08:50,940
or this condition will be false.

155
00:08:51,000 --> 00:08:54,150
If this condition is true, I am printing B and ending my program.

156
00:08:54,750 --> 00:08:56,190
Whatever the condition is false.

157
00:08:56,650 --> 00:09:01,530
If this condition is false, I will only reach here if it is not the largest number.

158
00:09:01,620 --> 00:09:02,390
B is not the largest.

159
00:09:02,390 --> 00:09:04,320
Just no automatically means.

160
00:09:04,440 --> 00:09:05,440
C is the largest number.

161
00:09:05,490 --> 00:09:08,070
So I am printing C and then I'm ending my program.

162
00:09:08,550 --> 00:09:10,310
So we solve three problems truly.

163
00:09:10,890 --> 00:09:14,610
If you have any doubt, you can ask me that you in this section in the next class.

164
00:09:14,640 --> 00:09:18,390
We will continue flowchart and learn new concept with the help of your problems.

165
00:09:18,780 --> 00:09:20,310
I hope you enjoyed this story.

166
00:09:20,700 --> 00:09:21,790
I will see you in the next material.

167
00:09:22,080 --> 00:09:23,760
I will then enjoy C++.

168
00:09:24,090 --> 00:09:24,870
Thanks for watching.
