1
00:00:03,640 --> 00:00:05,270
In fact let's just play with it.

2
00:00:05,270 --> 00:00:09,270
By adding more increment and in fact even in decrement.

3
00:00:09,280 --> 00:00:16,860
To see what happens let's click here to exit the ball concession and then we come back to code.

4
00:00:17,000 --> 00:00:18,070
Let's just copy here.

5
00:00:19,640 --> 00:00:28,490
And then put it down here so that we can iterate more and yes Let's paste ahead and let's just change

6
00:00:28,490 --> 00:00:30,110
here to minus that.

7
00:00:30,410 --> 00:00:33,580
When we add subtract and see whether it follows through

8
00:00:44,610 --> 00:00:50,950
just like plus plus counter means I'd want to count on minus minus counter implies subtract one from

9
00:00:50,950 --> 00:00:52,240
counter.

10
00:00:52,240 --> 00:00:54,610
So let's compile again.

11
00:00:55,120 --> 00:01:01,020
And we do not have any errors and that debug.

12
00:01:01,490 --> 00:01:07,640
So let's go through and let's look at our counter variable and see what happens.

13
00:01:07,640 --> 00:01:10,700
This display in decimal form.

14
00:01:11,250 --> 00:01:12,010
Okay.

15
00:01:12,200 --> 00:01:13,520
This random number.

16
00:01:13,970 --> 00:01:21,300
So let's step 2 1 and actually we can see it's indeed incrementing.

17
00:01:21,680 --> 00:01:28,420
And yes with 1 2 3 4 5 6 7 we've added 7.

18
00:01:28,480 --> 00:01:32,060
And the next instruction is going to be 8 1 to us.

19
00:01:32,480 --> 00:01:38,140
So with this incremented eight times and we have it here mean in eight plus zero.

20
00:01:38,150 --> 00:01:42,490
Now we're going to discriminate and see Yes.

21
00:01:42,650 --> 00:01:49,130
So basically that's we've already established this is how counting cars and computers and you might

22
00:01:49,130 --> 00:01:56,780
wonder how come when you click here nothing happens or basically you don't see any changes because we're

23
00:01:56,780 --> 00:01:57,880
not in a loop.

24
00:01:57,980 --> 00:02:01,570
It's it's hit the end of the program.

25
00:02:01,670 --> 00:02:02,450
We're not in a loop.

26
00:02:02,450 --> 00:02:05,700
We don't have the wow 1 loop here.

27
00:02:05,930 --> 00:02:12,020
We can enclose in a loop so that it would always go back to the top after it hit the bottom by just

28
00:02:12,170 --> 00:02:24,710
a while one hit and put in a curly braces we can exit the tobacco and then compile it and go back to

29
00:02:24,710 --> 00:02:31,230
the debugger Okay let's step through now.

30
00:02:32,020 --> 00:02:35,320
And as you can see something you should take note of.

31
00:02:35,350 --> 00:02:38,400
By the way look at where it starts from now.

32
00:02:38,620 --> 00:02:41,310
Starting from the while loop which is branch.

33
00:02:41,620 --> 00:02:42,410
Yeah.

34
00:02:43,260 --> 00:02:43,810
Let's step

35
00:02:48,280 --> 00:02:51,410
go back to the torque.

36
00:02:52,670 --> 00:02:54,880
Yes.

37
00:02:55,910 --> 00:02:57,020
Congratulations.
