Problem

Return twice the given integer.

Examples

  • timesTwo(3) -> 6
  • timesTwo(0) -> 0
  • timesTwo(-4) -> -8
Compile and test (Ctrl+Enter)