Introduction - If you have any usage issues, please Google them yourself
Programming Simulation " landmine game." In Box 9* 9,, n (n < 20) a " mine" (9 thunder, no lightning 0) random cloth. 1) Press the 9 lines of output distribution of landmines 9 (thunder ' *' indicates, no thunder output ' 0 ' ) number 2) statistics and the parties to the grid surrounding mine output (within a lattice of adjacent mines further mark the number of adjacent mines). Note: ① n specifies the number of mines in the program run. ② mines specified number n must be the same number.