Program to print first 10 numbers of Fibonacci series
Find the first 10 numbers of Fibonacci series. The Fibonacci sequence is a sequence where the next term is the sum of the previous two terms. The first two terms of the Fibonacci sequence are 0 followed by 1. The Fibonacci sequence: 0, 1, 1, 2, 3, 5, 8, 13, 21, ........ Approach: To solve the problem, follow the below idea: We can take two variable