Hello World Programs in different languages C Hello World Program #include<stdio.h> int main() { printf("Hello-World"); return 0; } C++ Hello World Program #include<iostream> int main() { std::cout<<"Hello-World"; return 0; } C# Hello World Program using System; // namespace declaration namespace HelloWorldApp { // Class declaration class Nitin { // Main Method static void Main(string[] args) { // printing Hello World! Console.WriteLine("Hello World!"); } } } Java Hello World Program public class Hello { public static void main(String []args) { System.out.println("Hello World"); } } Python Hello World Program print "hello world" Ruby Hello World Program puts "Hello, world" Basic Hello World Program 10 PRINT "Hello World!" PHP Hello World Program <?php echo “Hello World”; ?> R Hello World Program print("hello world") Bash Hello World Program #!/bin/sh echo "Hello World" JavaScript Hello World Program console.log("Hello World!"); Go Hello World Program package main import "fmt" func main() { fmt.Println("Hello World!") } Swift Hello World Program print("Hello World!")