To: Maceman
#!/usr/bin/perl
$x= -101;
while ($x < 101){
$a= 3-(4*$x);
$b= (6*$x)+13;
if ($a == $b){ print "$x\n";}
$x++;
}
I'm a big believer in brute force. ;)
/johnny
To: JRandomFreeper
35 posted on
01/18/2012 7:18:39 PM PST by
lefty-lie-spy
(Stay metal. For the Horde \m/("_")\m/ - via iPhone from Tokyo.)
To: JRandomFreeper
hey, wait, you didnt declare a or b as variables that wont work!
:)
43 posted on
01/18/2012 7:43:05 PM PST by
RaceBannon
(Ron Paul is to the Constitution what Fred Phelps is to the Bible.)
To: JRandomFreeper
Ha-ha! Peace through superior firepower, huh?
46 posted on
01/18/2012 7:47:27 PM PST by
Slump Tester
(What if I'm pregnant Teddy? Errr-ahh -Calm down Mary Jo, we'll cross that bridge when we come to it)
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson