why not all the fibonaccai series is printing except only last number of the series
Fibonaccai Pattern (Pattern 4)
@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
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