program that asks the user for their formula information and calculates it