This repository contains programs that print "hello 3119" in various programming languages. It's a compilation of classic and modern languages, demonstrating the syntax and basic structure for output operations in each.
- Python
- JavaScript
- Java
- C
- C++
- C#
- Ruby
- PHP
- Go
- Swift
- Kotlin
- Rust
- Scala
- Perl
- Haskell
- Lua
- R
- Objective-C
- Bash
- PowerShell
- TypeScript
- Dart
- Elixir
- Erlang
- Clojure
- F#
- Groovy
- MATLAB
- Fortran
- Pascal
- Ada
- Assembly (NASM x86)
- Prolog
- Scheme
- Lisp
- OCaml
- Julia
- Visual Basic .NET
- SQL
- D
- COBOL
- Crystal
- Nim
- Haxe
- Racket
- Forth
- SML
- Verilog
- Solidity
- AppleScript
- BASIC
- ALGOL 60
- PL/I
- Smalltalk
- APL
- SNOBOL
- MUMPS
- Simula
- Logo
- Modula-2
- BCPL
Each file contains code in a different programming language that outputs "hello 3119". To run these programs:
- Ensure the necessary compiler or interpreter is installed for the language you wish to run.
- Navigate to the directory containing the files.
- Run or compile the program according to the language's conventions.
-
Python:
python3 hello.py
-
Java:
javac Hello.java java Hello
-
C:
gcc hello.c -o hello_c ./hello_c
-
JavaScript (Node.js):
node hello.js
-
Bash:
./hello.sh
(Refer to the Language-Specific Instructions section for more details.)
Click here to expand
gcc hello.c -o hello_c
./hello_c
g++ hello.cpp -o hello_cpp
./hello_cpp
mcs Hello.cs
mono Hello.exe
runhaskell hello.hs
rustc hello.rs
./hello
go run hello.go
ruby hello.rb
php hello.php
perl hello_perl.pl
swipl -q -f hello_prolog.pl -t main
gfortran hello.f90 -o hello_fortran
./hello_fortran
nasm -f elf32 hello.asm -o hello.o
ld -m elf_i386 hello.o -o hello_asm
./hello_asm
matlab -batch "run('hello_matlab.m')"
cobc -x hello.cob
./hello
sqlite3
sqlite> .read hello.sql
Feel free to submit pull requests if you'd like to add more languages or improve the existing code.
This project is licensed under the MIT License - see the LICENSE file for details.