Objective
Write a program that draws the frame of a rectangle whose width and height are given as its two arguments, one row per line.
Steps
$ ./box 6 4 | cat -e
+----+$ | |$ | |$ +----+$
$ ./box 4 1 | cat -e
+--+$
$ ./box 2 2 | cat -e
++$ ++$
$ ./box 1 1 | cat -e
+$
$ ./box 3 | cat -e
wrong number of arguments$
Expected files
Allowed functions

Objective
Write a program that draws the frame of a rectangle whose width and height are given as its two arguments, one row per line.
Steps
$ ./box 6 4 | cat -e
+----+$ | |$ | |$ +----+$
$ ./box 4 1 | cat -e
+--+$
$ ./box 2 2 | cat -e
++$ ++$
$ ./box 1 1 | cat -e
+$
$ ./box 3 | cat -e
wrong number of arguments$
Expected files
Allowed functions

Tests
Run the tests to grade your code