|
Prev: Inspect...
Next: Recursive Call
From: spartacus on 22 Oct 2005 16:42 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
From: Richard on 22 Oct 2005 17:26 > i have to program a Hey, Doc, here's one for you.
From: on 22 Oct 2005 22:23 In article <1130013756.965425.5090(a)g14g2000cwa.googlegroups.com>, spartacus <schick.jonathan(a)gmail.com> wrote: [snip] >can anyone please help? Please do your own homework. DD
From: Lueko Willms on 23 Oct 2005 03:37 .. On 22.10.05 wrote schick.jonathan(a)gmail.com (spartacus) on /COMP/LANG/COBOL in 1130013756.965425.5090(a)g14g2000cwa.googlegroups.com about Fibonacci program sj> i have to program a cobol program where the prompt lists the sj> fibonacci number sequence with a maximum of 9 digits. Why don't you start to explain to this audience what a Fibonacci numbers are, and how they are computed. I guess you then find out by yourself how to code it. Yours, L?ko Willms http://www.willms-edv.de /--------- L.WILLMS(a)jpberlin.de -- Alle Rechte vorbehalten -- Wenn ein Buch und ein Kopf zusammensto?en und es klingt hohl, ist das allemal im Buch? -G.C.Lichtenberg
From: Robert Jones on 23 Oct 2005 09:05
We generally like people to show us how they have tried to solve the problem first, preferably with code fragments or in this case your program so far. When/if you do so, please also tell us what hardware and operating system you are using and the name of the supplier and version of the compiler you ar using. If you don't know what a Fibonacci series is, you can do a search on Fibonacci and Wiki for a much better and more extensive explanation than I can give. Robert |