Skip to content

This repository contains "Hello World" examples in various programming languages.

Notifications You must be signed in to change notification settings

chouaib-629/helloWorld_allLanguage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running Hello World in Different Programming Languages

This repository contains "Hello World" examples in various programming languages. Here's how to run each one:

C

To compile and run the C program, use the following commands:

gcc hello.c -o hello
./hello

C++

To compile and run the C++ program, use the following commands:

g++ hello.cpp -o hello
./hello

Java

To compile and run the Java program, use the following commands:

javac hello.java
java hello

Rust

To compile and run the Rust program, use the following commands:

rustc hello.rs
./hello

Python

To run the Python script, use the following command:

python hello.py

JavaScript

To run the JavaScript script, use the following command:

node hello.js

R

To run the R script, use the following command:

Rscript hello.r

PHP

To run the PHP script, use the following command:

php hello.php

About

This repository contains "Hello World" examples in various programming languages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages