changed discount_calculator to accept user input for the parameters