Create a function which will take two parameter as integer, and will return output like this -:
xxxxxx
xoooox
xoxxox
xoooox
xxxxxx
example-:
i have a function in which i am passing two parameter like (5,6), now first parameter 5 will means 5 rows and 6 means 6 column and it should return array or something with the following output, don't forget that parameter value can be change so output should be according to the parameter but in the same format. How to do this?