Question: c programming Question 3: While writing code for different number sequences, you started to think of a number sequence of your own. So you made

c programming Question 3: While writing code for different number sequences, you started to think of a number sequence of your own. So you made your own number sequence which is: 2, 1, 3, 4, 7, 11, 18, 29, 47, ..

Now write a C program to find the nth value of your number sequence.

Sample Input Enter the value of n: 5

Sample Output 5th value of your number sequence is 7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!