Hide
Don't get spied on – We respect your privacy and provide numerous options to protect it. Join Siafoo Now or Learn More

Fibonacci problem

Revision 1 vs. Revision 2

Legend:

Unmodified
Added
Removed
  • Code

    r1 r2  
    44 
    55program fibonacci 
    66 
    77implicit none 
    88! Define the single and double precision variables. 
    9 integer l,k,m,j,i,n(0:2000),nmin,nmax,capk,capn, sum 
     9integer i,n(0:2000),sum 
    1010 
    1111n(0) = 1 
    1212n(1) = 1 
    1313 
    1414sum=0