Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System; using System.Linq; namespace ns { internal class Program { private static void Main() { Enumerable.Range(0, 100).ToList().ForEach(n => Console.WriteLine((n % 3 == 0) ? (n % 5 == 0) ? "buttcake" : "butt" : (n % 5 == 0) ? "cake" : n.ToString())); } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement