The application basically calculates acceleration by inputting Initial and final velocity and time and then use a formula to calculate acceleration. However, since the value
//Xcode 8.1 and swift 3.0
We can also handle it by Optional Binding, Simply
let occur = "10" if let occ = Int(occur) { print("By optional binding :", occ*2) // 20 }