
Write a program that draws the frame of a rectangle whose width and height are given as its two arguments, one row per line.
./box 6 4 | cat -e+----+$
| |$
| |$
+----+$./box 4 1 | cat -e+--+$./box 2 2 | cat -e++$
++$./box 1 1 | cat -e+$./box 3 | cat -ewrong number of arguments$box.catoiwrite
Run the tests to grade your code
Write a program that draws the frame of a rectangle whose width and height are given as its two arguments, one row per line.
./box 6 4 | cat -e+----+$
| |$
| |$
+----+$./box 4 1 | cat -e+--+$./box 2 2 | cat -e++$
++$./box 1 1 | cat -e+$./box 3 | cat -ewrong number of arguments$box.catoiwrite
Run the tests to grade your code
Memory will appear here