C icon indicating copy to clipboard operation
C copied to clipboard

Update 1137.c

Open shivamdroidoreo opened this issue 1 year ago • 0 comments

Explanation of Changes: Loop starting from i = 3: This matches the idea that Tribonacci starts at n = 3 for the iterative part. It loops until i = n, making it more aligned with the index you are calculating. Renaming nextT to nextTerm: This improves code readability by being more descriptive.

Notes: <The overall structure of the program is unchanged, but the slight improvements make the code easier to understand and maintain.>

shivamdroidoreo avatar Oct 02 '24 10:10 shivamdroidoreo