flip of coin code example
Example: coin flip
//Use this at the top
using System;
//Put this under code
Random rnd = new Random();
string Answer = "Head";
if (rnd.Next(0,2) == 1)
{
Answer = "Tails" ;
}
//Use this at the top
using System;
//Put this under code
Random rnd = new Random();
string Answer = "Head";
if (rnd.Next(0,2) == 1)
{
Answer = "Tails" ;
}