Hi guys, i have created a program that outputs and prints a rectangle when given the width and height as command line arguments. I've got it to add 1 row and column if the number of rows or columns is even, so that the rectangle as a middle cell. I want to take this cell out (i.e. replace with spaces).
How would i get it to do this? Would i need to put in a loop or as an if statement.