I tried this code, but I'm getting an error. What is an alteative to this?
int chance = rand.Next(1, 11);
if (chance == 1 || 10)
{
string win = "lose";
}
This is in C#
