Friday, November 2, 2007

for (int i=1; i<0; i++) { System.out.println("SPAM"); }

Discuss some specific examples in which you might use iteration

You might use iteration to make winning conditions of a bored game or have repeated turns on a board game. Another thing iterations do is make multiplication tables or general tables with a functional set of numbers. Iterations can be used to spam people online (like my title)! The most important thing they do is save time and memory.

No comments: