Hello, world in different programming languages
Create a file hello.xx
of the language you want to write program in and save as
programming_language_name/hello.xx
example: c/hello.c
or python/hello.py
-
Create a simple "Hello, World" Program in a language of your choice
-
Make a pull request for your work and wait for it to be merged!
- Fork this repository (Click the Fork button in the top right of this page, click your Profile Image)
- Clone your fork down to your local machine
git clone https://github.com/your-username/helloworld.git
- Create a branch
git checkout -b branch-name
- Make your changes
- Commit and push
git add .
git commit -m 'Commit message'
git push origin branch-name
- Create a new pull request from your forked repository (Click the
New Pull Request
button located at the top of your repo) - Wait for your PR review and merge approval!
Add a xx/hello.xx
file to the root
directory in any language of your choice! Here is an example:
# LANGUAGE: Python
# AUTHOR: Chinmay Shah
print('Hello, World!')
Name the file hello.xx
. example , hello.py
or hello.c
and save it as python/hello.py
or c/hello.c
.
Managing your Forked Repo: https://help.github.com/articles/fork-a-repo/
Syncing a Fork: https://help.github.com/articles/syncing-a-fork/
Github-Flavored Markdown https://guides.github.com/features/mastering-markdown/