#!/usr/bin/env swift; import Foundation import Utils // Begin Main var i:Int = 0 var d:Double = 0 do { try i = Utils.stoi(CommandLine.arguments[1]) try d = Utils.stod(CommandLine.arguments[2]) print(Utils.format("i + d = {0:f}", Double(i) + d)) } catch { print("Can't convert command line argument!") } exit(EXIT_SUCCESS)