I have to make a list of exercises in C and Java, but I could not understand the logic in this exercise. Could someone help?
Request the user the initial term and the end term of the Fibonacci sequence (closed interval) and print the result.
Ex: Finomacci Sequence → 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
Initial term → 4
Final term → 8