-
Given an integer k, write a C program to find the minimum number of Fibonacci numbers whose sum is equal to k.
Given an integer k, write a C program to find the minimum number of Fibonacci numbers whose sum is equal to k.
For example: The Fibonacci numbers are: 1, 1, 2, 3, 5, 8, 13, ... If the input k = 7, we have 2 + 5 = 7. Then, we output 2.