Git Product home page Git Product logo

swaaz / basicprograms Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 87.0 30.16 MB

This repo contains basics programs of all languages.

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

C 1.35% Python 0.88% HTML 0.20% Java 0.55% C++ 0.75% Kotlin 0.03% Dart 0.01% JavaScript 96.23% CSS 0.01%
c basic-programming beginner-code beginners-guide python3 circleci hacktoberfest newcontributors python programming-language

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

akash2790 avatar akku710 avatar arceus-sj avatar aryan706 avatar avnishyam avatar ayushsingh-github avatar devesh1093 avatar gowthampb avatar hemanthkumar8251 avatar jainvaidehi avatar keerthika15 avatar mahi252001 avatar mgeethabhargava avatar namanmanjkhola avatar nireekshamn avatar nithinmahendran avatar nitinkumar30 avatar rachitharai avatar rahulrao23 avatar redfedted avatar shanky1199 avatar sharansk792000 avatar shivom2110 avatar shreetanu avatar sk1llful avatar souravrao-31 avatar srishtisk avatar swaaz avatar udaysk3 avatar vaidehi0421 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

basicprograms's Issues

Tkinter project - Notepad with Python

After carefully going through the repo, I was able to see Tkinter project was not there. I want to contribute it using some of my knowledge.

I'll be making a simple notepad using python's Tkinter module.

The features will include:

writing the text
saving the text as .txt file
opening any .txt file
Please tag this issue with 'hacktober fest 2021'

How to take part in hacktober fest 2021: From Zero to Hero

I would like to contribute with the steps for completing this fest. I'm also participating for the first time & know the hardships new joiners got. So, would like to eventually help them with complete step-by-step. Is it ok to raise an issue regarding this?

I've gone through various tutorials but many of them were not able to make me understand. After this, I would like to help new joiners in hacktober fest 2021.

Please tag my issue under 'hacktober fest 2021'.

Implementing stack using array & linked list in C language

I've gone through the repo & it seems there isn't a code for implementing stack using array & linked list. It's an important DSA question which almost every interviewer asks for. I have a code written in C language which I'd like to contribute to.

I wanted to contribute mostly in Python language but DSA is also important for interview preparation.

Please tag this issue under 'Hacktober fest 2021'.

Add list implementation in Python

After going through the codes in python I got to know there is no code for list implementation that is also menu-driven. I'd like to contribute to this repo by adding list implementation in Python with some functionalities like traversal, insertion of single/multiple elements & deletion of elements when you know index no & when you know item value.

I thought of going with basic C language but before that, wanted to move ahead with Python first as my first pull request.

Please add this request as my Hacktober fest 2021 PR.

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.