Computer Science, asked by mounikagopu443, 4 months ago

given a positive integer N,find the last digit last digit of the Nth term from the fibanocci series​

Answers

Answered by Anonymous
0

Explanation:

To overcome this difficulty, instead of calculating n'th Fibonacci number, there is a direct algorithm to just calculate its last digit (that is, F(n) mod 10). Look at the final digit in each Fibonacci number – the units digit: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987,

Similar questions