diff --git a/.github/ISSUE_TEMPLATE/contribution.md b/.github/ISSUE_TEMPLATE/contribution.md new file mode 100644 index 00000000..fd6a3834 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/contribution.md @@ -0,0 +1,37 @@ +# Contribution +- Fork this [repo](https://github.com/swaaz/basicprograms) +- Clone it using command : +
$ git clone paste_the_copied_url.+- Open folder "C/Python" : +
$ cd filder_name+ eg:cd C +- Create new branch : +
$ git branch new_branch_name+ eg:git branch swaaz +- Checkout to new branch from master branch : +
$ git checkout new_branch_name+ eg-git checkout swaaz + ## Check whether the program which you want is exist in the _readme_ file + ### If it's existing then don't waste your time by adding it again and think of adding some other program + ### If it's not existing then + - Create a new folder +
$ mkdir program-number+ eg:mkdir program-35 + - Change directory to the new created folder +
$ cd folder_name+ - Create a file *program.c* + - Write the code inside program.c file + ### NOTE: Before writng code refer [*sample*](https://github.com/swaaz/basicprograms/blob/swaaz/C/sample.c) file and write the code in the same format as given + - Add file : +
$ git add -A+- Commit file : +
$ git commit -m "comment"+ eg-git commit -m "program added" +- Push the file : +
$ git push origin -u 'branch_name'+ eg-git push origin -u swaaz +- The given link should be copied and pasted in web browser or go to your repo in web browser +- Create a pull request +## If you are contributing for the first time,then : +[click here](https://gitme.js.org/) + diff --git a/C/program-37/program.c b/C/program-37/program.c index 4a63c87c..0f2f59a1 100644 --- a/C/program-37/program.c +++ b/C/program-37/program.c @@ -1,5 +1,5 @@ /* -Program to find the fibonacci sequnce +Program to find the fibonacci sequnce using recursion */ #include