Skip to content

Modify Fibonacci in Odin#6002

Closed
Armanden wants to merge 1 commit into
TheRenegadeCoder:mainfrom
Armanden:patch-1
Closed

Modify Fibonacci in Odin#6002
Armanden wants to merge 1 commit into
TheRenegadeCoder:mainfrom
Armanden:patch-1

Conversation

@Armanden
Copy link
Copy Markdown

Congrats on taking the first step to contributing to the Sample Programs repository maintained by The Renegade Coder!
For simplicity, please make sure that your pull request includes one and only one contribution.

Please fill one of the sections below as applicable.
Please also add any other relevant information to the Notes section at the bottom.
You may delete or just ignore any other sections.

Please fill in the checkbox like this:

[x]

Not like these:

[x ]
[ x]
[ x ]

Please put in the relevant issue number in the I fixed #your-issue-number-here item. For example, if your PR is
for an issue called Add Convex Hull in C++, and that issue number is 5164, change your-issue-number-here
to 5164. Do not put any space between # and the issue number. This is important because when the PR is merged,
the corresponding issue will be closed.

For more information please refer to our contributing documentation

I Am Adding a New Code Snippet in an Existing Language

  • I fixed #your-issue-number-here
  • I did not include any extra folders/libraries
  • I named the pull request using Add {PROJECT} in {LANGUAGE} format

I Am Adding a New Code Snippet in a New Language

  • I fixed #your-issue-number-here
  • I did not include any extra folders/libraries
  • I named the pull request using Add {PROJECT} in {LANGUAGE} format
  • I added a testinfo.yml files (see contributing documentation)
    • I used an officially supported docker image or one that I personally trust

I Am Adding New Tests for a Project

  • I fixed #your-issue-number-here
  • I did not include any extra folders/libraries
  • I named the pull request using Add {PROJECT} Tests format
  • I verified the project exists on the Sample Programs Project List
  • I added tests for every test case in the Testing table of the project description for the given project. (See contributing documentation)

I Am Adding New Tests for a Language

  • I fixed #your-issue-number-here
  • I did not include any extra folders/libraries
  • I named the pull request using Add {LANGUAGE} Tests format
  • I added a testinfo.yml files (see contributing documentation)
    • I used an officially supported docker image or one that I personally trust
  • I verified all tests are passing

I Am Modifying an Existing Code Snippet or Existing Tests

  • I fixed Adding HTML Proofer Back into the Mix #717
  • I did not include any extra folders/libraries
  • I have read about modifying existing code snippets or tests in the contributing documentation
  • I have explained why this modification is necessary either in the issue linked above or in the notes below
  • I named the pull request using Modify {PROJECT} {tests} in {LANGUAGE} format

Other Notes

Add notes here...

Change variable declarations to use explicit types.Because when a number like 500 is inputed it outputs negative numbers.

Change variable declarations to use explicit types.Because when a number like 500 is inputed it outputs negative numbers.
@github-actions github-actions Bot added enhancement Any code that improves the repo fibonacci See: https://sampleprograms.io/projects/fibonacci/ labels May 23, 2026
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Armanden! Thanks for contributing to this project! We are a rather small team, so it may take some time to process this request. In the meantime, there are several ways you can make yourself a part of The Renegade Coder community. For instance, you can:

Thanks for your help!

@rzuckerm rzuckerm changed the title Modify{fibonacci}in {odin} Modify Fibonacci in Odin May 23, 2026
@rzuckerm
Copy link
Copy Markdown
Collaborator

Sorry, but I don't see this as a necessary change. Please read the Contributing Guide.

@rzuckerm rzuckerm closed this May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Any code that improves the repo fibonacci See: https://sampleprograms.io/projects/fibonacci/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants