Home Forums C Programming how to create a program of Lucas No. using Turbo C Re: how to create a program of Lucas No. using Turbo C

#3333
yeswanth
Participant

The first few numbers of Lucas sequences which is a variation of Fibonacci sequence are sequence are
1 3 4 7 11 18 29
a) Design a program in C to generate Lucas sequence.
b) Develop a function to calculate sum of first n odd integers.