Maybe due to one of the following reasons (feel free to add more reasons!) ...

- wrong parameterizations,

- wrong calculations,

- inappropriate sequence of operations,

- incorrect nesting of loops,

- missing termination conditions for loops,

- bugs in external libs,

- error in reasoning,

- coincidence,

- …?

Please, share your unintended "artwork" with us!

To get the topic started, I attach some of my latest artistic attempts.

I hope you will like them,

Robert

Similar questions and discussions