Learn how to print Hello World in Swift from the command line with a simple example for beginners to test their Swift environment quickly and easily.
// Basic Swift program to print 'Ciao Mondo' to the console
// Program entry point
// In Swift, for simple programs, defining the main function is not mandatory
print("Ciao Mondo") // Prints the string 'Ciao Mondo' to the consoleSwift 5 or higher installed on the system
Terminal or command prompt to run the program
No external dependencies required
CONFIG: no configuration needed