1. Course
  2. Functions A
  3. Function with reference parameters

Function with reference parameters


Last updated: 8/23/2020 Difficulty: Intermediate

Create a function named Double to calculate the double of an integer number, and modify the data passed as an argument. It must be a void function and you must use refererence parameters.

Input

4

Output

8

Solution