All right, now let's move ahead so we have to build a program where user will enter and what number
he wants the natural number to be printed.
OK, so first we will take the input from the user.
You know how to do it.
Let's do it quickly.
OK, so he has to enter a number in which all the numbers will be printed.
No, this logic now plays a very important role.
So when we wanted numbers, Ilford, so we were writing for and it was printing all the numbers still
for when we were writing in here, it was printing all the numbers, Dilton.
And then we have written 20.
It printed all the numbers.
Still 20.
Right.
So what you should write here so that it prints all the numbers, all the numbers the user has entered.
Yes, very right.
We should write here.
And so whatever.
No user has entered.
If you write that here, all the numbers will that number will be printed.
OK, let's try this.
You have made the necessary changes.
No, let's run this.
So it is asking for the input, so let's say seven, you can see it is printing all the numbers, still
seven.
OK, now here we want to make a very small change that here you can see there is no gap after the statement
ended and then what we entered.
OK, so to do that, we'll just go here and we'll put this hole so by this and gives you a good gap.
Now let's run it again.
And if you know, enter it will see is printing all the numbers deltron.
OK, so we have a user defined program, OK, of printing all the natural numbers, all the user wants.
OK, so this was all over this lecture.
We'll see in the next one.
Thank you.