1
00:00:00,780 --> 00:00:08,340
First of all inside of this for loop I actually instantiated this all text string object and I actually

2
00:00:08,370 --> 00:00:14,000
assigned the value of this text UTX calculations to this or takes object.

3
00:00:14,010 --> 00:00:14,390
OK.

4
00:00:14,400 --> 00:00:18,680
And then I actually tried to set some text to this text the calculations.

5
00:00:18,690 --> 00:00:19,100
OK.

6
00:00:19,170 --> 00:00:25,230
And here as you can see first of all I actually referred to the name of this or text object plus total

7
00:00:25,230 --> 00:00:25,980
value.

8
00:00:26,190 --> 00:00:28,880
So for example this is our total value in number 0.

9
00:00:28,890 --> 00:00:33,960
So for the first time that this group is going to be executed the value of this total value variable

10
00:00:33,960 --> 00:00:34,460
is 0.

11
00:00:34,470 --> 00:00:35,190
OK.

12
00:00:35,310 --> 00:00:39,560
Plus and these are plus operated inside of these two double quotes as you can see here.

13
00:00:39,600 --> 00:00:44,780
So this is our Plus operator here plus integer array sub index.

14
00:00:44,790 --> 00:00:51,540
So this is the value that is inside of the integer array sub index 0 or keep the value of this index

15
00:00:52,710 --> 00:00:57,580
variable is zero as you can see the first time that this group is going to be executed.

16
00:00:57,660 --> 00:01:00,140
The value of this index value is zero.

17
00:01:00,180 --> 00:01:05,570
So the to the value that is inside of the index zero of this integer array is number two.

18
00:01:05,700 --> 00:01:08,880
OK so 0 plus number 2.

19
00:01:09,150 --> 00:01:13,750
And here I actually putting an equal operator and say that these two double quotes.

20
00:01:13,860 --> 00:01:14,650
OK.

21
00:01:15,000 --> 00:01:16,800
This is this is the equal operator.

22
00:01:16,830 --> 00:01:18,810
We actually put this operation here.

23
00:01:18,810 --> 00:01:26,940
Total value plus assignment operator integer arrays of index as you can see the result of this operation

24
00:01:26,970 --> 00:01:28,230
is number two.

25
00:01:28,590 --> 00:01:32,390
So this number two is here plus a new line character.

26
00:01:32,460 --> 00:01:33,030
OK.

27
00:01:33,240 --> 00:01:36,150
So as you can see here these values are actually below each other.

28
00:01:36,270 --> 00:01:37,040
OK.

29
00:01:37,650 --> 00:01:42,830
And that is going to actually again execute these for a loop here again.

30
00:01:42,870 --> 00:01:45,810
So let me actually explain what's going on again here.

31
00:01:45,810 --> 00:01:49,520
So now that this group is executed this value is number two OK.

32
00:01:49,560 --> 00:01:55,470
So for the second time that this loop is going to be executed the value of this total value is actually

33
00:01:55,470 --> 00:01:55,860
two.

34
00:01:55,860 --> 00:01:56,150
OK.

35
00:01:56,160 --> 00:02:00,390
Number two and the value of this index variable is number one.

36
00:02:00,390 --> 00:02:06,570
Because here we are specified that after each execution of this for a loop increment the value of this

37
00:02:06,570 --> 00:02:08,560
index valuable by 1.

38
00:02:08,760 --> 00:02:14,610
So now the value of this index value bet is 1 and then it can actually again check this condition.

39
00:02:14,610 --> 00:02:21,720
So number one is less than the integer outraced that length of this Arey so that this condition evaluates

40
00:02:21,720 --> 00:02:25,080
to true and then it's going to actually go inside the for loop.

41
00:02:25,080 --> 00:02:30,900
So again it's going to actually assign the value of the stakes the calculations.

42
00:02:30,900 --> 00:02:36,620
The text that is inside of this is the calculation takes through and then put it here.

43
00:02:36,730 --> 00:02:39,800
OK it's going to assign that value to the all text object.

44
00:02:39,810 --> 00:02:44,340
So this is the value that is inside of these stakes the calculations here.

45
00:02:44,340 --> 00:02:49,100
OK for now and then it's going to actually put that value here inside this or text view.

46
00:02:49,410 --> 00:02:55,230
And here it's going actually again set some text to this takes the calculations takes you.

47
00:02:55,410 --> 00:02:56,020
OK.

48
00:02:56,160 --> 00:03:00,720
So first I refer to the name of this all text object plus the total value.

49
00:03:00,810 --> 00:03:02,670
So the total value now is number two.

50
00:03:02,670 --> 00:03:03,380
OK.

51
00:03:03,750 --> 00:03:08,050
And as you can see here plus And here are actually putting a plus operator inside of these two double

52
00:03:08,070 --> 00:03:08,710
quotes.

53
00:03:08,940 --> 00:03:13,310
So this is the plus operator plus feature Aure sub index.

54
00:03:13,320 --> 00:03:21,480
So now that the value of this index value bet is number 1 so the value that is inside of this index

55
00:03:21,630 --> 00:03:24,260
one of these integer array is 54.

56
00:03:24,390 --> 00:03:25,680
So this is 54.

57
00:03:25,860 --> 00:03:26,520
OK.

58
00:03:26,790 --> 00:03:30,760
And I you to put in a plus a plus approach here again.

59
00:03:30,960 --> 00:03:35,370
And inside of these two double quotes I actually put in an equal operator.

60
00:03:35,430 --> 00:03:38,430
So this is our equal operator as you can see.

61
00:03:38,430 --> 00:03:45,060
And plus And here I actually again are putting this expression here this operation total value plus

62
00:03:45,120 --> 00:03:50,130
equal plus assignment operator an integer array sum index.

63
00:03:50,220 --> 00:03:56,750
So the total value is now number two and the entire area of index is actually 54.

64
00:03:56,850 --> 00:04:01,080
So two plus 54 56 plus a new line character.

65
00:04:01,080 --> 00:04:04,150
So as you can see here now these values are below each other.

66
00:04:04,200 --> 00:04:08,880
So it can actually continue executing this loop until it reaches to this number.

67
00:04:08,880 --> 00:04:10,650
Three hundred and fifty five.

68
00:04:10,950 --> 00:04:15,740
And then this can actually skip this for a loop and then execute this line of code here.

69
00:04:15,750 --> 00:04:18,780
After this world dx that was all that said text.

70
00:04:18,780 --> 00:04:19,800
Total value.

71
00:04:19,800 --> 00:04:21,000
So this is our total value.

72
00:04:21,000 --> 00:04:21,960
OK.

73
00:04:22,950 --> 00:04:24,970
So hopefully that makes sense.

74
00:04:25,260 --> 00:04:28,040
And I think that's enough for this tutorial.

75
00:04:28,080 --> 00:04:33,840
So if you have any questions please post the discussion in the course and then I do my best to answer

76
00:04:33,840 --> 00:04:34,870
your questions.

77
00:04:35,160 --> 00:04:38,700
And thank you very much for watching and I'll see you in the next tutorial.

