num. Return the smallest positive integer that is divisible by both num and 2.num=7 → 14
7 is odd, so the smallest even multiple is 14.
num=12 → 12
12 is already even and is a multiple of itself.
num=1 → 2
num=7
14
Run checks the first 3 tests in your browser. Submit checks all 94 tests on the server, hidden ones included.