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?
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Anil ThakurPosted Sep 28, 2016, 3:56 AM
Nitin SontakkePosted Sep 28, 2016, 3:21 AM