On 3/28/07, muhammad shahid <[EMAIL PROTECTED]> wrote: > > hello friends to all: > Friends solve this problem.it may be easy but you > know i am a new programmer. > > problem: > i have series 85321 int type(long type).rule of this series is > that previous two terms of series adding becomes the next term(from right > to left).write the code for the: > > take input from the user and tell the user that > his entered series is according this rule(by adding prev two terms gives > the > next) or not.? > > your friend > SHAHID SHARIF >
Have a look at the following links: http://en.wikipedia.org/wiki/Fibonacci_number http://en.literateprograms.org/Category:Fibonacci_numbers Regards Sumit Chawla ("eNetra : Hail the Invention") "Computers are useless. They can only give you answers.":Pablo Picasso [Non-text portions of this message have been removed]
