Write a function that prints the following pattern, based on…

Write a function that prints the following pattern, based on the input value for N. Assume that N is always an Odd positive integer. If N=3, it should print ++ + + If N = 5, it should print  + + ++ + + + +  + If N = 7, it should print   +  + + + + ++ + + + + + +  + +   +