Write the definition of a function twice , that receives an integer parameter and returns an integer that is twice the value of that parameter.
LANGUAGE: C++
CHALLENGE:
Write the definition of a function twice , that receives an integer parameter and returns an integer that is twice the value of that parameter.
SOLUTION:
int twice (int input){ return input * 2; }