Skip to content

Various programming logic in various programming languages

License

Notifications You must be signed in to change notification settings

prasanth181200/ProgrammingLogic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProgrammingLogic

Various programming logic in various programming languages.

This repo helps to everyone understand the programming logic, syntax and how works in different languages.

Contribution Guidelines

Please follow the contribution guidelines. We consider following items in your program.

  1. Write your own program by own way.

  2. We expect new and intresting logic and program.

  3. Should have Well documentations

  4. Before raising pull request check alreay exisit or not in https://github.com/ViluppuramGLUG/ProgrammingLogic repo.

  5. Each pull request have at least two or more programs are welcome.

Steps to Start

  1. Login with Github. (If you don't have account then register and login)

  2. Login to Hacktoberfest using Github.

  3. Fork this https://github.com/ViluppuramGLUG/ProgrammingLogic repository to your repository (username/ProgrammingLogic).

Steps to Contribute

  1. Choose your prefered langues in this repo.

  2. Write any programming logic/interview questions program in any language or your prefered language. That should be useful and intresting.

  3. Program filename should be valid, human readable and snake case format like (fibonacci_number.py) not like camel case (FibonacciNumber.py) except Java and Kotlin.

  4. Program should be well document(example)

  5. Commit and push it to your repo.

Steps to pull request

  1. Click pull request in your repo after commit and push.

  2. Ensure base repository:(ViluppuramGLUG/ProgrammingLogic) <- head repository: (username/ProgrammingLogic). then click create pull request button.

  3. After that, Give valid title and message.

  4. Click Create Pull Request button.

Ref more explanation : link

Example

filename : ProgrammingLogic/python/palindrome_or_not.py link

Program with documentations

    """Palindrom or not given string"""
    
    # function which return reverse of a string
    def isPalindrome(s):
        return s == s[::-1]
 
 
    # Getting string from user
    s = input("Enter word: ")
    ans = isPalindrome(s)

    # Checking the given string same as reversed string then print "Yes". otherwise print "No"
    if ans:
        print("Yes")
    else:
        print("No")

About

Various programming logic in various programming languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 70.3%
  • HTML 12.9%
  • C 7.8%
  • JavaScript 3.6%
  • C++ 1.8%
  • Java 1.6%
  • Other 2.0%