Help,Fibonacci numbers

Please support our VB.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: Nov 2005
Posts: 1
Reputation: lefraso is an unknown quantity at this point 
Solved Threads: 0
lefraso lefraso is offline Offline
Newbie Poster

Help,Fibonacci numbers

 
0
  #1
Nov 17th, 2005
I would like to design a programm in visual basic.net meet the following requirements:

Fibonacci numbers Input limit is 15
Numbers are 0 1 1 2 3 5 8 13

The program must allow input limit
Display all generated Fibonacci numbers
The sum of all the Fibonnacci numbers

Anyone who can help me with this ,i will appreciate.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 6
Reputation: Danny.VBT is an unknown quantity at this point 
Solved Threads: 0
Danny.VBT's Avatar
Danny.VBT Danny.VBT is offline Offline
Newbie Poster

Re: Help,Fibonacci numbers

 
0
  #2
Dec 2nd, 2005
I don't want to give you the exact answer but your going to need two temp variables to hold the last two numbers of the sequence, also another var to add each number. It's not a difficult application...the concept of temporary variables may be confusing at first.

Here's a few things off the top of my head that you'll need...

1.) Input Box
2.) Loop
3.) Temp. Variables
4.) Variable to act as a sum of fibonacci numbers.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC