Write the definition of a function named twice that receives an integer argument and returns an integer that is twice the value of the parameter.