// // main.swift // Swift Command Line // // Created by User on 10/4/22. // import Foundation var msg = "" var i = 2 if CommandLine.arguments.count <= 1 { print("Hello, World!") } else { msg = CommandLine.arguments[1] while i < CommandLine.arguments.count { msg += " " + CommandLine.arguments[i] i += 1 } print(msg) }