How to print Lucas series upto N terms in C++

preview_player
Показать описание
The Lucas series is an integer series very similar to the Fibonacci series. Each term of the Lucas series is defined as the sum of the previous two terms of the series.
The formula for both Fibonacci series and Lucas series is c=a+b where a and b equals to 1 in Fibonacci series and a=2 and b=1 in Lucas series.
Like, Comments, Share and SUBSCRIBE @programmingwithannu Thanks!
#print #lucasseries #nterms #printlucasseries #uptonterms #programming #program #tutorial #code
Рекомендации по теме