Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 2.64 KB

CONTRIBUTING.md

File metadata and controls

64 lines (38 loc) · 2.64 KB

Steps for Contribution

1. Fork this repository. This will make you to create a copy of this repository under our github account.
2. Clone the forked repository by using the following command.

    git clone "https://github.com/<your-github-username>/fibonacci_series"

3. Create a new branch or just use the main branch

  • To create a new branch

     cd fibonacci_series
     git checkout -b <your-branch-name>
    

4. Check out the Languages.md and search for the programming language that you want to code the program.

  • If the particular programming language exists, it means that someone has written the program in that language.
    • Don't feel down. However you can see the existing code and changes to the exsiting program is highly welcome if you write the program even simpler.
  • If you didn't find the programming language that you want to code.
    • Create a new file name as follows

        <language>_fibonacci.<extension_of_particular_language>
      
        e.g., python_fibonacci.py or CPP_fibonacci.c or C_fibonacci.cpp
      

5. Create a new program in different Programming language or *Make necessary changes to the existing code.

6. Update the language file by running the below command. You may need to install the latest NodeJS to update the Languages.md file. node ./utils/updateLanguageMd.js

7. Once You're are done with your changes commit them by the following commands.

    git add files-you-edited
    git commit -m "Commit message"

8. Push your changes to Github

    git push origin <current-branch-name>

    eg., if you're on main branch,
            git push origin main 

9. Create a pull Request

  • If you go to your repository on GitHub, you’ll see a Compare & pull request button. Click on that button. We'll review your code and merge it if it passes all the tests.

10. Upon successfull contribution add your name in the Contributors.md file.

*Note: If you wish to update the existing code. Attatch the schreenshot of the working code & Comment the changes you've made and Why you've update the code with a minmum two line explanation(This helps me to review your code quickly).

Expected Output

Your respective code should ask the user how many fibonacii terms should be printed.

Atleast the code return 100 terms.

Important Note: Attatch the working code screenshot next to the code

Happy Coding !!

forthebadge