1
00:00:10,000 --> 00:00:11,000
Hello, friends.

2
00:00:11,000 --> 00:00:16,000
Today we discuss flat sequence problem.

3
00:00:16,000 --> 00:00:26,000
So let's say I just go to the structures or here this is my flat sequence and I want to perform different

4
00:00:26,000 --> 00:00:30,000
operations for a variable.

5
00:00:30,000 --> 00:00:44,000
Let's say this is my input, a variable and I also have another variable B as you see over here.

6
00:00:44,000 --> 00:00:46,000
I just put it over here.

7
00:00:48,000 --> 00:00:53,000
So I want to first perform addition.

8
00:00:53,000 --> 00:00:56,000
Let's say I just lock it.

9
00:00:56,000 --> 00:00:58,000
I want to first perform addition

10
00:01:01,000 --> 00:01:06,000
A plus B, it will give me a plus B.

11
00:01:06,000 --> 00:01:09,000
And over here, this is my indicator.

12
00:01:09,000 --> 00:01:17,000
Let's say after that, I want to add another frame.

13
00:01:17,000 --> 00:01:21,000
And in that frame I want to perform another operation.

14
00:01:21,000 --> 00:01:22,000
With this

15
00:01:25,000 --> 00:01:30,000
variables, let's say I want to perform X minus Y.

16
00:01:30,000 --> 00:01:34,000
And over here, this is my indicator.

17
00:01:34,000 --> 00:01:37,000
Then I have another frame.

18
00:01:38,000 --> 00:01:43,000
And this I want to perform different operation.

19
00:01:44,000 --> 00:01:49,000
With this operators, let's say multiply.

20
00:01:51,000 --> 00:01:53,000
Create control over here.

21
00:01:54,000 --> 00:01:55,000
Not control.

22
00:01:55,000 --> 00:01:58,000
I want to just create indicator over here.

23
00:01:59,000 --> 00:02:03,000
Control you to minimize the space.

24
00:02:03,000 --> 00:02:09,000
Let's say I want to perform another operation with the same input.

25
00:02:13,000 --> 00:02:20,000
So over here, let's say I want to go with divide function next to it.

26
00:02:20,000 --> 00:02:21,000
Y y.

27
00:02:21,000 --> 00:02:24,000
And over here, this is my indicator.

28
00:02:25,000 --> 00:02:30,000
So these are my four operations control.

29
00:02:30,000 --> 00:02:38,000
You and I want to check what happen with this flat sequence.

30
00:02:38,000 --> 00:02:45,000
And I also create delay of half second.

31
00:02:45,000 --> 00:02:48,000
I just put inside this

32
00:02:51,000 --> 00:02:55,000
delay in each and every frame.

33
00:02:57,000 --> 00:03:02,000
So let's check what happened to the code.

34
00:03:02,000 --> 00:03:05,000
So over here, this is my first operation.

35
00:03:05,000 --> 00:03:07,000
This is my second operation.

36
00:03:07,000 --> 00:03:09,000
This is my third operation.

37
00:03:09,000 --> 00:03:12,000
And this is my fourth operation.

38
00:03:12,000 --> 00:03:16,000
And I want to perform 12 and six.

39
00:03:17,000 --> 00:03:19,000
So let's say run it.

40
00:03:20,000 --> 00:03:25,000
So as you see, I got values after half of seconds.

41
00:03:25,000 --> 00:03:29,000
Let's say I want to check for more delay.

42
00:03:33,000 --> 00:03:41,000
So in the case of let's sequence first, frame, execute first, then second, then third, then so

43
00:03:41,000 --> 00:03:41,000
on.

44
00:03:41,000 --> 00:03:48,000
So let's say run it, as you see right now, let's just change the value.

45
00:03:50,000 --> 00:03:55,000
1420 884 2.33.

46
00:03:56,000 --> 00:04:02,000
So this is how we can perform different operations using flat sequence structure.

47
00:04:02,000 --> 00:04:03,000
Thank you.

