Hello world program in a swift basic program

Hello world program in a swift programming language. This is the basic program to print the element in swift programming language. This program is the very first easy program in every programming language to know how to print the charecter in output.

var str="Hello world"

print(str)

 

Output:

Hello world

Why hello world is famous

Hello World programs are intended to demonstrate how the coding process works as well as to verify that a language or system is working properly. That is why it is frequently employed as a metric for program success.

Meaning behind the hello world

Hello World is a simple program that displays the message Hello World when it is launched. The most plausible historical explanation is that a short program like Hello World used to allow a programmer to check if a language’s compiler, development environment, and run-time environment were all installed successfully.