Fibonacci function

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

  • : 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?
  • : 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
Sign In or Register to comment.

Howdy, Stranger!

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

Categories