Okay in our programming we have a while loop So, say I want to clear what I can do something like this. Ah well i equal zero. Okay? I less and Sal 100,000 okay then I will print i mean i and then let's see I equals i plus one in our use case assignment okay then a Ctrl A and then right. So I will be doing the same thing as the for loops. So let's say for these are global i is zero while i is less than 1000 the I will print these are great times I move through these a while loop will I increase or add one to this I, so let's say R equals zero.
So, VA i less than one. So, zero is less than 1000 will print I, which I mean I will print zero and i equals i plus one. So, I will be one zero plus one. So, I will becomes one. So, your loop again come to here. So, one is less than 1000 So, I printed out one then i go i plus one, so, one plus one becomes two, so, you will come to two is less than 1000 then you will continue to look back to see, I saw more than 1000 or equal to 1000.
So, if I Let's say I forget to put these i equal i plus one, then we will have a infinite loop. So, I go usually for myself I prefer Paulo, ah, we use this while loop we will be we will have to be careful about this infinite loop.