Skip to content
6 changes: 6 additions & 0 deletions C/hello-world.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <stdio.h>
int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
7 changes: 7 additions & 0 deletions GoLang/Hello.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package main

import "fmt"

func main() {
fmt.Println("hello world!!! GoLang program")
}
5 changes: 5 additions & 0 deletions Java/Hello-World.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
5 changes: 5 additions & 0 deletions Java/Hello1.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class Hello1 {
public static void main(String[] args) {
System.out.println("Hello, World!!!");
}
}
1 change: 1 addition & 0 deletions Python/hello1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print('Hello, world!')
1 change: 1 addition & 0 deletions Ruby/hello.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
puts "Hello World"
8 changes: 8 additions & 0 deletions perl/hello2.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/perl

# Modules used
use strict;
use warnings;

# Print function
print("Hello World\n");