re: Daily Challenge #76 - Bingo! (or not...) VIEW POST

FULL DISCUSSION
 

C#

public string Bingo(byte[] numbers)
{
    List<byte> bingo = new List<byte>{2,7,9,14,15};
    return bingo.All(x => numbers.Contains(x)) ? "WIN" : "LOSE";
}
code of conduct - report abuse