diff --git a/C/hello-world.c b/C/hello-world.c new file mode 100644 index 0000000..34d86c4 --- /dev/null +++ b/C/hello-world.c @@ -0,0 +1,6 @@ +#include +int main() { + // printf() displays the string inside quotation + printf("Hello, World!"); + return 0; +} diff --git a/GoLang/Hello.go b/GoLang/Hello.go new file mode 100644 index 0000000..e7b5bbd --- /dev/null +++ b/GoLang/Hello.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("hello world!!! GoLang program") +} diff --git a/Java/Hello-World.java b/Java/Hello-World.java new file mode 100644 index 0000000..e1a0fdb --- /dev/null +++ b/Java/Hello-World.java @@ -0,0 +1,5 @@ +class HelloWorld { + public static void main(String[] args) { + System.out.println("Hello, World!"); + } +} diff --git a/Java/Hello1.java b/Java/Hello1.java new file mode 100644 index 0000000..9e4447e --- /dev/null +++ b/Java/Hello1.java @@ -0,0 +1,5 @@ +class Hello1 { + public static void main(String[] args) { + System.out.println("Hello, World!!!"); + } +} diff --git a/Python/hello1.py b/Python/hello1.py new file mode 100644 index 0000000..ec7780c --- /dev/null +++ b/Python/hello1.py @@ -0,0 +1 @@ +print('Hello, world!') diff --git a/Ruby/hello.rb b/Ruby/hello.rb new file mode 100644 index 0000000..b85a042 --- /dev/null +++ b/Ruby/hello.rb @@ -0,0 +1 @@ +puts "Hello World" diff --git a/perl/hello2.pl b/perl/hello2.pl new file mode 100644 index 0000000..5076bec --- /dev/null +++ b/perl/hello2.pl @@ -0,0 +1,8 @@ +#!/usr/bin/perl + +# Modules used +use strict; +use warnings; + +# Print function +print("Hello World\n"); \ No newline at end of file