Validation of user input for 'Multiply' method