public winPercentage ( string board ) : double | ||
board | string | |
Результат | double |
static void Main(string[] args) { BombSweeper x = new BombSweeper(); string[] a = {".....", ".....", "..B..", ".....", "....."}; Console.WriteLine(x.winPercentage(a)); Console.ReadLine(); }
static void Main(string[] args) { BombSweeper x = new BombSweeper(); string[] a = { ".....", ".....", "..B..", ".....", "....." }; Console.WriteLine(x.winPercentage(a)); Console.ReadLine(); }