Advertisements

Aatul Palandurkar

Archive for the ‘COBOL Source Code’ Category

Free Source Code

Free Source Code

Objectives :
* How to write Hello World in Java?
* How to write Hello World in C?
* How to write Hello World in PHP?
* How to write Hello World in C++?
* How to write Hello World in JavaScript?
* How to write Hello World in HTML?
* How to write Hello World in CSS?
* How to write Hello World in COBOL?

Java

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

C

#include
#include
void main()
{
clrscr();
printf(“Hello World!”);
getch();
}

C++

#include
#include
void main()
{
clrscr();
cout<getch();
}

CSS

body:before
{
content: “Hello World”;
}

COBOL

****************************
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
MAIN SECTION.
DISPLAY “Hello World!”
STOP RUN
****************************

HTML

<html>
<head>
<title>Hello World Example</title>
</head>
<body>
Hello World!
</body>
</html>

JavaScript

document.write("Hello World");

PHP

<!--?php echo ‘Hello World!’ ?-->

Linux Shell Script

echo "Hello World !"

Enjoy coding!

Posted from WordPress for Android

Advertisements

Advertisements

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 7,294 other followers

Atul Palandurkar

Tweets

%d bloggers like this: