Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,360 --> 00:00:01,570
What is going on, guys?
2
00:00:01,590 --> 00:00:06,960
And welcome back to another exercise in our programming course.
3
00:00:07,800 --> 00:00:16,230
So we cover it up so much, so many exercises and now we keep on moving forward.
4
00:00:16,240 --> 00:00:24,300
So let's write a program that receives a number with three digits, pretty similar to one of our previous
5
00:00:24,540 --> 00:00:25,260
examples.
6
00:00:26,040 --> 00:00:32,280
And this program should simply print a very first number of.
7
00:00:33,090 --> 00:00:39,960
So basically we will get some numbers, which is an integer with three digits and the program should
8
00:00:39,960 --> 00:00:43,140
print the reverse number of numbers.
9
00:00:43,170 --> 00:00:46,350
So basically, let's take a look at this example.
10
00:00:46,350 --> 00:00:53,580
If we have none, which is five three, one, five hundred and thirty one, then what the program should
11
00:00:53,580 --> 00:01:00,690
do is simply to find out in some way, in one way or another, what should be the ones, the units,
12
00:01:00,690 --> 00:01:03,360
the tens and hundreds of these numbers.
13
00:01:03,390 --> 00:01:12,090
So, for example, one is the unit one units, three towns and five hundred and do some rearrangement
14
00:01:12,090 --> 00:01:17,720
four of these number and calculate the reverse number and print it to the screen.
15
00:01:17,730 --> 00:01:23,900
So the final answer that should be printed on the screen is one hundred and thirty five.
16
00:01:24,420 --> 00:01:29,380
So there are two ways actually to solve this exercise.
17
00:01:29,400 --> 00:01:33,240
One way is to calculate and actually store it.
18
00:01:33,660 --> 00:01:41,000
There are the reverse number is a variable and another way is simply to print the result.
19
00:01:41,340 --> 00:01:44,210
So I'm not sure if we are going to do both of them.
20
00:01:44,220 --> 00:01:46,470
But first of all, think about the solution.
21
00:01:46,470 --> 00:01:52,000
Try to come up with some idea and let's proceed in the Solutions video.
22
00:01:52,050 --> 00:01:52,830
I'll see you then.
2242
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.