Back to the Web Developer's Journal Main Page
internet.com
side nav bar
Java & JavaScript Discussion Group

We have recently moved our discussion groups to new and better software. The old messages are archived here but you should probably check out the new ones.

WDJ Mailing Lists
Discussion Groups Book Reviews Software Reviews Download Web Tools

How to develop Fibonacci Sequence JAVA program

From: Makisudo@aol.com
Category: Category 1
Date: 21 Sep 1998
Time: 14:53:52
Remote Name: 198.64.48.184

Comments

I need to develop a JAVA program that will generate the Fibonacci Sequence to a user definable number n. The user should indicate on the command line how many FIbanocci terms to generate. *Fibonaccni Sequence: a numeric sequence of importance to science and nature. The sequence starts with the numbers 0 and 1 and continually adds the last two numbers to get the next number and so on. As an example; the sixth (n=6) Fibonacci number is 8; 0,1,1,2,3,5,8....whereas 0 is the 0th term and 1 is the 1st term.

I need to deliver a working JAVA program (with a ".java" extention) as well as a class file which can be executed. In this program, my class file needs to be executed and the resultss of the program needs to be varified.

Sadly, neither Web Developer's Journal, Markland Communities, Inc., Paige Turner nor anyone else associated with sponsoring these discussion groups can in any way be held responsible for any advice given here. The great unwashed masses of the public Internet hang out here and freely offer advice to all who seek it and some who don't. Take any advice received here with the proverbial grain of salt.
Last changed: November 04, 1998

Back to the Web Developer's Journal
Contact WDJ   •    Suits!   •    Propheads!   •    Ponytails!
Discuss   •    Subscribe   •    Search