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"; }
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.
re: Daily Challenge #76 - Bingo! (or not...) VIEW POST
FULL DISCUSSIONC#