Bug of the Month for Jun 2009
|
Baltazar, a C student, wrote this small program to produce the Nth triangular number. To his dismay he kept getting an unexpected answer. What's wrong?
Modify this
example, if desired, and then hit the Analyse Code
button |
|
|
|