Say Hello World

Program to print Hello World
C programming

#include<stdio.h>
int main() {
printf("Hello World");
return 0;
}

C++ Programming

#include<iostream>
using namespace std;
int main() {
cout << "Hello World";
return 0;

Java Programming

class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello, World");
}

Go Lang

package main
import "fmt"
func main() {
fmt.Print("Hello World")
}

php

<?php
echo "Hello world";
?>  

Comments

Popular posts from this blog

Program to calculate telephone bill

Sum of two numbers in go lang

Program to check a year is leap year or not.

String in golang

Identifiers

Arrays in C Language

Reserved Words in Java

Data types in Java

Pointers in C Language

Literals in Java