Fibonaccai Pattern (Pattern 4)

why not all the fibonaccai series is printing except only last number of the series

@mohitsharmakosi2001 “value” is a int variable so it will contain only last updated value and while printing you are printing only this int value which will give you same output.

so how to update value as 0,1,1,2,3,5,8,13,21,34

https://ide.codingblocks.com/s/435162 correct this code plz

instead of using different for loop use the same for loop in which you are updating the value and print current value before updating it.
i have updated your code look at the comments for more clarification https://ide.codingblocks.com/s/435774

ok it thank u so much

@mohitsharmakosi2001 let me know if you have further queries else mark this doubt as resolved.