hi
after removing the spaces if its not a squareroot then keep a check like
find squareroot of n and round the result up for eg if your string length is 7 then when you find...
Type: Posts; User: hope_08
hi
after removing the spaces if its not a squareroot then keep a check like
find squareroot of n and round the result up for eg if your string length is 7 then when you find...
hi
so you need to check after removing spaces that if its not a square root and proceed by adding that much space to make it a square root?
if no then you can jst keep a check like if its not a...
hi
you dnt need to replace string s .
instead take n as full string with space. And check whether the string length gives perfect square.If its yes then
take char[][] box = new...