Write a program in C to display the 10 lucas numbers.
Expected Output :
The first 10 Lucas numbers are :
2 1 3 4 7 11 18 29 47 76
===========================
What are Lucas Numbers?
Lucas numbers are similar to Fibonacci numbers. Lucas numbers are also defined as the sum of its two immediately previous terms. But here the first two terms are 2 and 1 whereas in Fibonacci numbers the first two terms are 0 and 1 respectively.
=================================================
• C Programming - Numbers
Website : http://www.jlabstech.com
Like us on Facebook : / jlabstechnology
Follow on Twitter : / _jlabs_