Date: 10/18/05 (Java Web) Keywords: php, programming, java No, I am not competing for obfuscated code context. I realized while showing it to someone that Fibonacci series can be written much more succintly using modern programming languages like php and java. Here is the php version: <?php for($current = 1, $last = 0, $i = 1;$i < = 100;$i++) echo ($current = $last + ($last [...] Source: http://blog.taragana.com/index.php/archive/fibonacci-series-in-1-line-php/
|