Fibonacci program



hey

i have to program a cobol program where the prompt lists the fibonacci
number sequence with a maximum of 9 digits. i'm supposed to use COMPUTE
and ON SIZE ERROR.

can anyone please help?

thanks a lot in advance
spartacus

.



Relevant Pages

  • Re: Fibonacci program
    ... spartacus wrote: ... i have to program a cobol program where the prompt lists the fibonacci ... number sequence with a maximum of 9 digits. ... So you are a newbie at school and your prof/teacher throws a zinger at you and you really don't know which way is up - 'Fibonacci', 'Compute', 'On Size Error' ..... ...
    (comp.lang.cobol)
  • Fibonacci[1,000,000,000] contains 208,987,640 decimal digits
    ... > For finding the number of digits in any sufficently large Fibonacci ... Sloane's sequence A068070 ... here is a fast way to find the n_th Tribonacci number: ...
    (sci.math.symbolic)
  • Re: Fibonacci program
    ... > i have to program a cobol program where the prompt lists the fibonacci ... > number sequence with a maximum of 9 digits. ... that prints out all the fibonacci numbers that fits within 9 digits. ...
    (comp.lang.cobol)
  • Re: Fibonacci program
    ... >> number sequence with a maximum of 9 digits. ... > The Fibonacci Series is one of those Gee Whiz numbers that turn up in many ... > overflowed the print buffer. ...
    (comp.lang.cobol)
  • Re: Fibonacci program
    ... > number sequence with a maximum of 9 digits. ... The Fibonacci Series is one of those Gee Whiz numbers that turn up in many ... overflowed the print buffer. ...
    (comp.lang.cobol)