Let me generalize this. In this case, my incrementer was just adding 1 to an integer, it's a pretty straightforward thing to do.
当我完成后,我不会再显示任何信息了,好,好,那么你们已经看过两个简单的例子了,让我来讲讲概念,在这个例子中。
And when I'm done with the whole thing, before I end the increment of the variable, you know, when I'm done, I'm just not returning anything out.
在循环外面初始化它,然后做一个终结测试,然后在循环内部有一个指令集,在这个例子中,就是对余数做检查,然后显示信息,当我完成了整个循环。
应用推荐