Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Fibonacci function

excellentvuexcellentvu Member Posts: 8
Write a Fibonacci function in C/C++ that takes an input from the user in main program and pass to function which prints Fibonacci series up to this number.
Hints:

Enter the value up to which you want to print the series : 5
0 1 1 2 3 5

Comments

  • HK_MP5KPDWHK_MP5KPDW Member Posts: 770 ✭✭✭
    : Write a Fibonacci function in C/C++ that takes an input from the user in main program and pass to function which prints Fibonacci series up to this number.
    : Hints:
    :
    : Enter the value up to which you want to print the series : 5
    : 0 1 1 2 3 5
    :
    :

    What code do you have so far? What have you tried?
  • hamidraza1975hamidraza1975 Member Posts: 1
    : Write a Fibonacci function in C/C++ that takes an input from the user in main program and pass to function which prints Fibonacci series up to this number.
    : Hints:
    :
    : Enter the value up to which you want to print the series : 5
    : 0 1 1 2 3 5
    :
    :
    Thx
    Still Waiting reply from any one: please help me to slove this problem
    bye
    raza
  • globalprogglobalprog Member Posts: 67
    edited October 2013
Sign In or Register to comment.