Giter Site home page Giter Site logo

dharmaksha / basicprograms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swaaz/basicprograms

0.0 0.0 0.0 17.15 MB

This repo contains basics programs of all languages.

Home Page: https://swaaz.github.io/basicprograms/

C 47.09% Python 11.02% HTML 10.50% Java 8.63% C++ 22.04% Kotlin 0.37% Dart 0.35%

basicprograms's Introduction

Basic Program

This Repository is an awesome collection of basic programs in different programming languages⚡


⚠️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.
  • Do add readme.md file for explaining the question , input and output for each program.
  • Please go through How to contribute and do accordingly to make a smooth contribution.

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
│   .   . 
│   .   .       
│   



How to contribute

  • Fork this repo

  • Clone it using command :

 $ git clone paste_the_copied_url.
  • Open folder "basicprograms" :
$ cd basicprograms
  • Open folder "C/Python" :
$ cd folder_name

eg: cd C

  • Create new branch :
 $ git branch new_branch_name

eg: git branch hactoberfest

  • Checkout to new branch from master branch :
$ git checkout new_branch_name

eg: git checkout hactoberfest

  • 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 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 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

Tada you just made a contribution ✨. Pat your back 👏

If you have never made a PR before 😕, no worries, follow these steps to get going 👉click me

basicprograms's People

Contributors

swaaz avatar rachitharai avatar shreetanu avatar mahi252001 avatar sharansk792000 avatar jainvaidehi avatar shivom2110 avatar vaidehi0421 avatar arceus-sj avatar shanky1199 avatar akku710 avatar rahulrao23 avatar mgeethabhargava avatar srishtisk avatar redfedted avatar gowthampb avatar souravrao-31 avatar keerthika15 avatar mayanksingla139 avatar sitispeaks avatar dharmaksha avatar your-name123 avatar nireekshamn avatar shravyarshetty avatar aaarif796 avatar ashish-garg18 avatar nithinmahendran avatar sanjay-xdr avatar just-tech20 avatar nizz009 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.