Saturday 22 October 2011

WHILE

Hello again all .... Before this , we have disscuss about FOR , now we disscuss about WHILE .
WHILE here use just like FOR , to make the repeat statements.
While is used when the number of repeat is unknown.

While here there are two kind , first is increase , and second is decrease .

for increase we can use the increment function like this :

inc(variabel,increase);

for decrease we can use the decrement function like this :

dec(variabel,decrease);

How to use while ??? i just can make a example ...

You can see this picture :



I think only that i can tell you now ... we meet again at next post ... BYE .....

No comments:

Post a Comment