Procedure:
1: Read the String size here string length is 10 suppose 10 as square root of 10
2: Now find the number between 10 square come as here 10 square root comes between 3 square and 4 square
3: Now take the 3 as rows and 4 as column
5: make a grid like this feed
thed
og
6: Now divide it like fto ehg ee dd
Problem Link
Problem Link
Coding platform
This program has been coded in Hackerrank
Programming language
Additional context (OPTIONAL)
Example:
Input:
feedthedogOutput:
fto ehg ee dd