1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Java sequence generator

Discussion in 'Software Development' started by Boe, Nov 3, 2004.

Thread Status:
Not open for further replies.
Advertisement
  1. Boe

    Boe Banned Thread Starter

    Joined:
    Sep 10, 2004
    Messages:
    16
    Hello everyone. I am not trying to get someone to do my homework for me but I am stuck on a program. I dont know if you are familiar with the "fibonacci generator". The first two nubers of the sequence are 1. The third number it always the sum of the prior two numbers. the third number is the sum of 1 and 1. third number = 2. the fourth number is the some of the 2nd and 3rd digit. the seguence reads as follows... 1,1,2,3,5,8,13,21.... so on. anyways, I need to write a generator to figure out this sequence so when a user enters a digit number, like the 16 fib number, then generator will tell the user what the actual number is.
     
  2. Chicon

    Chicon

    Joined:
    Jul 29, 2004
    Messages:
    6,650
    Hi Boe,

     
  3. Boe

    Boe Banned Thread Starter

    Joined:
    Sep 10, 2004
    Messages:
    16
    Alright thanks. I did finally figure it out yesterday, but your help is most appreciated.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/291937