If my input n=4 then it should display 4 dots in square shape as follows,
* *
* *
if n=5 we cant display square with 5 asterisk mark , it should display square with maximun dots(*) here four.
if n=9 then,
* * *
* * *
* * *
again for n=10 it should display the same. Any hints

Laxmidhar SahooRank #383 · 6.6K reputationPosted Oct 2, 2018, 11:22 PM EDT
Ruchi SharavatRank #1,714 · 885 reputationPosted Oct 3, 2018, 12:49 AM EDT
suchith madavu95 reputationPosted Oct 3, 2018, 12:46 AM EDT