Ralph Shumaker wrote: > > Is the easiest solution achievable only by a computer iterating through > the possibilities? At the moment, I cannot even conceive how to proceed > programming such a beast. Then again, I am still quite the novice in > Perl. I might be able to pull it off in BASIC. But even there, I don't > know how to begin. (Besides, I currently don't even have access to BASIC.)
I confess, I don't fully understand the problem spec in order to assist with that. However, I can say that the algorithm is mostly independent of the language used. Write your algorithm is psuedo code, or a flowcahrt. The syntax takes care of itself. Obviously, the algorithm may lend itself to a functional, object oriented, or procedural language. Inthose cases, the language choice may matter. If all you know are procedural languages (if anyone says Perl (any version) is Object Oriented, I'll laugh) then the choice of launage is mostly irrelevant. -john -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
