mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-11 21:36:45 +00:00
[PR #1417] Update 1137.c #2017
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/TheAlgorithms/C/pull/1417
State: closed
Merged: No
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.>