Can You Help Me ?
[ DelphiLand Discussion Forum ]
Posted by SaM RiChArds on March 19, 19103 at 10:14:03:
Hello I'm stuck with this fibonacci sequence. Can you help me without changing any existing commands I think I have to use Prev_num and next_num and current_num also I think I need a counter oor somthing if oyu could help me I would be very gratful. The Fibonacci sequence, is the sequence 0, 1, 1, 2, 3, 5. 8, 13, 21,… where each value (after the initial two values) is found by adding the previous two values. And I have to show the first 25 Fibonacci values. The output of the program has to be: 0 1 1 2 3 5 8 13 etc
Related Articles and Replies:
[ DelphiLand Discussion Forum ]
|
|