in reply to Math with Perl, equation combinations:

I would like to extend some warm thank-you's for answering my question. I know the word "dumb" was used in one of the comments, but I'd like to personally change that to "genius". I would never of come up with any of those solutions, as my perl skills aren't that superb!

To answer your question, I'm not doing this for homework. It's been a long time since I saw a proffessor :-) I was just doing this personally for myself. What I was orginally *trying* to do was add 7 numbers together but only using one number once in each question string, so let's say for example 8 wouldn't show up twice in a string of 8+8+1 The code would just find all the possible combinations of questions. Ahhh... anyhow, I'm trying to study your codes and trying to figure out how everything is working, and how I can change 3 to 7 numbers to add together and omit the same numbers appearing more than once. It's all very interesting and I should say difficult :-)

It's hard to express my gratitude via text, but thank-you once again, there are truly many wise ones here at PerlMonks.com

  • Comment on Re: Math with Perl, equation combinations: