Friday, November 2, 2007

Iterations

Iterations are repetitions. They can be used for several purposes in people's daily lives. One purpose of iterations is saving money. If a person wants to save money, but also wants to buy lots of clothes, he might want to create a program which would tell him if he could spend money or not. He would set a sentinel value of the maximum money he can spend on clothes and the program would tell him if he is spending too much money. Iterations can also be used to verify what a numbers first digit is.

No comments: