repo.or.cz
/
polyglot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
adding braces for main()
[polyglot.git]
/
fibonacci.txt
blob
0dd93b72af5cbecfe5a727555e5068eda90ab1b0
1
#define whatever /*
2
"*/
3
main () /*"; # */
4
{
5
$i = 0;
6
$n1 = $n2 = 1;
7
print "$n1\n";
8
while ( $i < 9 ) {
9
($n1, $n2) = ($n2, $n1+$n2);
10
print "$n1\n";
11
$i++;
12
}
13
}