first commit
This commit is contained in:
commit
063194f8be
349 changed files with 36508 additions and 0 deletions
17
tester/testsuite/good/core014.jl
Normal file
17
tester/testsuite/good/core014.jl
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* Fibonacci. */
|
||||
|
||||
int main () {
|
||||
int lo,hi,mx ;
|
||||
lo = 1 ;
|
||||
hi = lo ;
|
||||
mx = 5000000 ;
|
||||
printInt(lo) ;
|
||||
while (hi < mx) {
|
||||
printInt(hi) ;
|
||||
hi = lo + hi ;
|
||||
lo = hi - lo ;
|
||||
}
|
||||
return 0 ;
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue