Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,570 --> 00:00:08,940
What is going on, guys, and welcome to a multiplication table exercise, so I guess by now you have
2
00:00:08,940 --> 00:00:11,790
a clue about what we are going to do here.
3
00:00:12,120 --> 00:00:18,330
But just to let you know, what we are going to do is to write a program that will receive an integer
4
00:00:18,330 --> 00:00:20,850
and print its multiplication table.
5
00:00:21,330 --> 00:00:27,810
So basically, if we will take, like, I don't know, three, OK, three will be our integer.
6
00:00:28,710 --> 00:00:34,620
So we will print all the numbers up to like three multiplied by one, which is three.
7
00:00:34,860 --> 00:00:36,990
Three multiplied by two, which is six.
8
00:00:36,990 --> 00:00:39,510
Three multiplied by three, which is nine.
9
00:00:39,510 --> 00:00:39,930
Right.
10
00:00:40,410 --> 00:00:46,470
So basically taking just num and multiplying it let's say from one up to ten.
11
00:00:46,620 --> 00:00:50,920
OK, so we will print all the values from one up to ten multiplied by three.
12
00:00:50,950 --> 00:00:53,630
We'll bring the results just like this.
13
00:00:54,450 --> 00:01:01,610
And once we are done, let's say we will divide this process into two steps, two main steps.
14
00:01:01,770 --> 00:01:05,430
This will be the first step by multiplying from one to ten.
15
00:01:05,820 --> 00:01:09,810
And the second step will be to receive additional value.
16
00:01:09,870 --> 00:01:10,240
OK.
17
00:01:10,260 --> 00:01:16,740
That will represent on how many elements of the multiplication table of this given num we should print
18
00:01:17,250 --> 00:01:22,940
so it will receive one integer as three and the second integer is I don't know is four.
19
00:01:23,190 --> 00:01:28,700
So we will print three multiplied by one, three multiplied by two, by three and by four.
20
00:01:28,710 --> 00:01:29,430
And that's it.
21
00:01:29,790 --> 00:01:32,720
And maybe we will get R as the second value.
22
00:01:32,730 --> 00:01:34,020
I don't know, a hundred.
23
00:01:34,200 --> 00:01:40,530
So we will, we will print all the values of three multiplied by one, by two by three up until a hundred.
24
00:01:40,530 --> 00:01:47,940
I will print all of them and we know that probably it's not going to be a bit of a problem.
25
00:01:47,950 --> 00:01:55,380
It's not going to be an issue because since you are already hopefully an expert in using Loop's, this
26
00:01:55,380 --> 00:01:59,610
will probably be just an additional line at the most.
27
00:02:00,480 --> 00:02:03,150
So I hope the instructions are clear to you.
28
00:02:03,150 --> 00:02:05,640
If you still have any questions, feel free to ask them.
29
00:02:06,000 --> 00:02:12,780
And what I requested to do as always in these exercises, go and start practicing on your own and then
30
00:02:12,780 --> 00:02:14,430
come back the solutions video.
31
00:02:15,090 --> 00:02:16,950
So until then, good luck.
3093
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.