Casted the variables collected by the prompts to numbers in order to fix calculation issue