![]() The loop will not stop unless an external intervention occurs ("pull the plug").Īn infinite loop is a sequence of instructions in a computer program which loops endlessly, either due to the loop having no terminating condition, having one that can never be met, or one that causes the loop to start over. ![]() Birds = 1 fish = 2 while birds + fish > 1 do birds = 3 - birds fish = 3 - fish endīirds will alternate being 1 or 2, while fish will alternate being 2 or 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |