Question: c language Ooredoo LTE 10:58 AM Done A2Fall2018.docx Write a recursive method that counts the number of mines on a grid. A mine is defined

c language
Ooredoo LTE 10:58 AM Done A2Fall2018.docx Write a recursive method that counts the number of mines on a grid. A mine is defined as a contiguous collection of X's (connected horizontally and vertically). Input Max dimensions of the array Distribution of mines on the array Output The number of mines and the layout of the grid showing the locations of the mines. Requirements checklist: Documented source code (include any assumptions you make) Input File (in.txt) The format of the input file is as follows: First line is the dimensions of the grid.. Then the grid containing 1s for the creatures and Os for the spaces. The file terminates by 0 0 xxX. Output File (out.txt) Number of Mines: 1 01 110
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
