<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="http://www.ceyusa.com/blog/gadgets/Blog/templates/atom.xsl" ?><feed xmlns="http://www.w3.org/2005/Atom">
<link rel="self"  href="http://www.ceyusa.com/blog" title="Ceyusa's Share" />
<title  type="text" >Ceyusa's Share</title>
	<author>
		<name>Victor Manuel Jaquez Leal</name>
		<uri>http://www.ceyusa.com/blog</uri>
	</author>
<subtitle  type="text" >Comments On Post 517</subtitle>
<id>http://www.ceyusa.com/blog</id>
<generator>JAWS 0.8.6</generator>
<rights  type="text" >2005, Victor Manuel Jaquez Leal</rights>
<updated>1969-12-31T17:59:59-06:00</updated>
<entry>
	<title  type="text" ><![CDATA[ Re: The beauty of the functional programming ]]></title>
	<link rel="alternate"  type="text/html"  href="http://www.ceyusa.com/blog/index.php/blog/show/517.html#comment184" title="Re: The beauty of the functional programming" />
	<author>
		<name>linxe</name>
		<uri>http://www.ceyusa.com/blog</uri>
	</author>
	<id>http://www.ceyusa.com/blog/517/184</id>
	<updated>1969-12-31T17:59:59-06:00</updated>
	<published>1969-12-31T17:59:59-06:00</published>
	<summary  type="text/html" ><![CDATA[ #!/usr/bin/perl -w<br />
use strict;<br />
<br />
my @n = ( 1 .. 1000 );<br />
foreach my $a ( @n ) {<br />
    my $a2 = $a * $a;<br />
    foreach my $b ( @n ) {<br />
        my $b2 = $b * $b;<br />
        my $c = sqrt ( $a2 + $b2 );<br />
        next unless ( ($a + $b + $c) == 1000 );<br />
        next unless ( ($c / int $c ) == 1 );<br />
        print "Solution: a = $a b = $b c = $c\n";<br />
     }<br />
}<br />
<br />
# La belleza de los numeros ... ]]></summary>
	<content  type="text/html" ><![CDATA[ #!/usr/bin/perl -w<br />
use strict;<br />
<br />
my @n = ( 1 .. 1000 );<br />
foreach my $a ( @n ) {<br />
    my $a2 = $a * $a;<br />
    foreach my $b ( @n ) {<br />
        my $b2 = $b * $b;<br />
        my $c = sqrt ( $a2 + $b2 );<br />
        next unless ( ($a + $b + $c) == 1000 );<br />
        next unless ( ($c / int $c ) == 1 );<br />
        print "Solution: a = $a b = $b c = $c\n";<br />
     }<br />
}<br />
<br />
# La belleza de los numeros ... ]]></content>
</entry>
</feed>