Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 114 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,118 @@
<h1 align="center"> Basic Program</h1>
<!-- <h2 align="center"> Bot built for Instagram using Python and Selenium. </h2>
<h3 align="center">
This is an Instagram bot that can automate and perform some tasks; makes your task easier. The Bot can show the list of un-followers from you Instagram or it can show your fans and also it can cancel all the pending follow requests which you have already sent before or it can also unfollow those who don't follow you back.
</h3> -->
<h1 align="center">Basic Program</h1>
<div align="center">
<img src="./gif/giphy.gif" width="300x" >
</div>

## This repo contains basics programs in all languages.
## Contribution
If you want to contribute to this repo then [click here](https://github.com/swaaz/basicprograms/blob/swaaz/.github/ISSUE_TEMPLATE/contribution.md)
## This repo is an awesome collection of basic programs in different programming languages⚡
<div align="center">
<!-- languages -->
<img src="https://img.shields.io/badge/python%20-%2314354C.svg?&style=for-the-badge&logo=python&logoColor=white" height= 25px width=80px/>
<img src="https://img.shields.io/badge/javascript%20-%23323330.svg?&style=for-the-badge&logo=javascript&logoColor=%23F7DF1E" height= 25px width= 110px/>
<img src="https://img.shields.io/badge/c%20-%2300599C.svg?&style=for-the-badge&logo=c&logoColor=white" height= 25px width= 40px/>
<img src="https://img.shields.io/badge/c++%20-%2300599C.svg?&style=for-the-badge&logo=c%2B%2B&logoColor=white" height= 25px width=60px/>
<img src="https://img.shields.io/badge/java-%23ED8B00.svg?&style=for-the-badge&logo=java&logoColor=white" style=flat-square height= 25px/>

</div> <br/>

## ⚠️Points to note before you start contributing
- Check whether the program you are going to add already exists in the repo or not. Make sure you're not repeting any program.
- Please go through [How to contribute](#contribute) and do accordingly to make a smooth contribution.
<br/><br/>

## Folder structure:
```
.
├── C++
│ ├── Program-1
│ │ ├── program.cpp
│ │ ├── readme.md
│ . .
│ . .
├── C
│ ├── Program-1
│ │ ├── program.c
│ │ ├── readme.md
│ . .
│ . .
├── Java
│ ├── Program-1
│ │ ├── program.java
│ │ ├── readme.md
│ . .
│ . .
├── Javascript
│ ├── Program-1
│ │ ├── program.js
│ │ ├── readme.md
│ . .
│ . .
├── Python
│ ├── Program-1
│ │ ├── program.py
│ │ ├── readme.md
│ . .
│ . .
```
<br/><br/>
<a name="contribute">
# How to contribute <img src="https://media.giphy.com/media/WUlplcMpOCEmTGBtBW/giphy.gif" width="50">
</a>

- Fork this [repo](https://github.com/swaaz/basicprograms)

- Clone it using command :
<pre> $ git clone paste_the_copied_url.</pre>

- Open folder "basicprograms" :
<pre>$ cd basicprograms</pre>

- Open folder "C/Python" :
<pre>$ cd folder_name</pre>
eg: cd C

- Create new branch :
<pre> $ git branch new_branch_name</pre>
eg: git branch hactoberfest

- Checkout to new branch from master branch :
<pre>$ git checkout new_branch_name</pre>
eg: git checkout hactoberfest

- Create a new folder
<pre> $ mkdir program-number </pre>
eg: mkdir program-35

- Change directory to the new created folder
<pre> $ cd folder_name </pre>

- 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 :
<pre>$ git add -A</pre>

- Commit file :
<pre>$ git commit -m "comment"</pre>
eg: git commit -m "program added"

- Push the file :
<pre>$ git push origin -u 'branch_name'</pre>
eg: git push origin -u hactoberfest

- The given link should be copied and pasted in web browser or go to your repo in web browser

- Create a pull request

- tag @swaaz under review section<br/><br/>

### Tada you just made a contribution ✨. Pat your back 👏 <br/><br/>

### If you have never made a PR before 😕, no worries, follow these steps to get going [👉click me](https://gitme.js.org/)