Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,300 --> 00:00:05,790
All right, so what I want us to do in this challenge is to write a program that will initialize an
2
00:00:05,790 --> 00:00:09,230
array in this array should be initialized with three values.
3
00:00:09,240 --> 00:00:11,990
So these values should represent a date.
4
00:00:12,270 --> 00:00:19,050
So, for example, you should take an array of size three, let's say, and you should you should initialize
5
00:00:19,050 --> 00:00:25,140
it in such a way that the first element will represent the day, the second element will represent the
6
00:00:25,140 --> 00:00:28,640
month, and the third element will represent a year.
7
00:00:28,860 --> 00:00:33,240
So simply an array of size, three representing some date.
8
00:00:33,330 --> 00:00:37,380
So, for example, you can use, let's say, the first element as the day.
9
00:00:37,390 --> 00:00:43,790
So we will have the number one and the month will be two and the year will be two thousand.
10
00:00:43,800 --> 00:00:48,840
And once you've initialize this array, what I want you to do is to create another array.
11
00:00:48,870 --> 00:00:54,960
OK, so there will be to erase the original one that you initialized in some other array of the same
12
00:00:54,960 --> 00:00:59,400
size that you declare that you didn't initialize it with any values.
13
00:00:59,400 --> 00:01:05,550
And once you do so, what I want you to do is to copy this array of initialized this array with the
14
00:01:05,550 --> 00:01:07,500
numbers one, two and two thousand.
15
00:01:07,830 --> 00:01:12,930
Just copy this array into the additional array you've just declared.
16
00:01:12,930 --> 00:01:18,720
And once you're done, what I want you to do is simply print both array elements to the screen and make
17
00:01:18,720 --> 00:01:24,510
sure that you can see the same result printed out from both of them so that basically you will have
18
00:01:24,510 --> 00:01:29,970
to erase holding the same values after after you've completed the copy operation.
19
00:01:30,090 --> 00:01:32,280
So good luck, guys, with this exercise.
20
00:01:32,280 --> 00:01:33,530
Make sure this works.
21
00:01:33,540 --> 00:01:37,770
It's not too complicated, but but it's also not so trivial.
22
00:01:38,160 --> 00:01:40,770
So good luck and I'll see you in the Solutions video.
2428
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.