Monday, 8 February 2010

Keep this formule(x = x + 1) away from your math teacher

Keep this formule(x = x + 1) away from your math teacher

If you show this formule to your math teacher, he will beat you

So why do we need this formule?

This formule has no meaning in Math. But it's very useful in programming.

It means that x is a variable, and we make X's value equal to it's previous value + 1

That's it.