Content deleted Content added
Line 23:
The algorithm reads eleven numbers from an input device, stores them in an array, and then processes them in reverse order, applying a user-defined function to each value and reporting either the value of the function or a message to the effect that the value has exceeded some threshold.
The problem with the usually specified function is that the term 5*t^3 gives overflows in almost all languages for very large negative values.
==Perl golf==
|