From: daz Date: 2004-11-13T22:18:24+09:00 Subject: Re: [QUIZ] Countdown (#7) Brian Schr�der wrote: > > > > p (75 - 5 + 8) * (2 + 10) - 10 #-> 926 > > > > This is the only solution and is difficult to find. > > > > My Program found > > ((((75.0 - (2.0 / 5.0)) + 8.0) + 10.0) * 10.0) = 926.0 > > is this not a solution? > It's not allowed in the television game: "... all the steps to the solution must be whole numbers. e.g. You cannot start by dividing 7 by 5 and then use 1.4 in subsequent steps." Nevertheless, I look forward to seeing your program. If you leave it to find "all" possible solutions, this should be 1.0 of them. (75.0 - 5.0 + 8.0) * (2.0 + 10.0) - 10.0 #-> 926.0 :-) daz