Created
October 29, 2018 16:44
-
-
Save andylshort/9e54fc4a55d1ca43281c90fd4ee00f26 to your computer and use it in GitHub Desktop.
Coin flipper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Coin | |
{ | |
class Program | |
{ | |
static void Main(string[] args) => Console.WriteLine(new Random().Next(0, 1000) % 2 == 0 ? "Heads" : "Tails"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment