Problem

Return the perimeter of a rectangle with given width and height.

Examples

  • rectanglePerimeter(3, 5) -> 16
  • rectanglePerimeter(2, 2) -> 8
Compile and test (Ctrl+Enter)