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
This works for me
var a:Int? = Int(userInput.text!)