There is a 5by5 grid where each cell contains a gem. Each gem has a name. The grid should contain only one Kohinoor. Find the Kohinoor. At each step of the search, print the cell name where you are searching. As soon as you find the Kohinoor, stop searching and print Kohinoor is found.
No comments:
Post a Comment