Re: [PHP] Math problem (222)

2002-10-02 Thread Chris Hewitt
[EMAIL PROTECTED] wrote: >errors, but it doesnt do what i want it to do - instead of returning any >three digit combo that doesnt return 222, it just prints EVERY combo whice >passes my conditional statement to weed out numbers that have digits where 2 >or more are the same. > I can't write bug-f

[PHP] Math problem (222)

2002-10-02 Thread tony
For a coursework assignment I have to investigate this thing where you do the following for example: 264- Choose 3 digits that are not the same 12 - Find the sum of them. 264 246 624 642 426 462- List all the possible combinations of t