in reply to Re: Solving math equations
in thread Solving math equations
This is all I have right now. Also, no. This is no homework -- don't know how else I can prove that to you though, except by that above code. That code that I have isn't very effective, and will take quite along time to actually come up with the (any) proper results. I'm currently working on another variation which will be alot faster, but I still have no guarantee it will work (although once it is done, I will post it here).#!perl use strict; my $x = 1; my $y = 1; my $total; while ($x*$y ne 133745531) { $x++; $y++ if $x == 137745532; $x = 1 if $x == 137745532; $total = $x*$y; print $total."\n"; } print "$x+$y"; exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Solving math equations
by BrowserUk (Patriarch) on Nov 10, 2002 at 05:18 UTC | |
by sauoq (Abbot) on Nov 10, 2002 at 21:25 UTC | |
by BrowserUk (Patriarch) on Nov 10, 2002 at 21:28 UTC | |
by Louis_Wu (Chaplain) on Nov 10, 2002 at 21:32 UTC | |
|
Re^3: Solving math equations
by kelan (Deacon) on Nov 10, 2002 at 05:34 UTC |