public static void Main()
Drink beer = new Drink(4);
while (jon.IsDrunk() == false)
Console.WriteLine("Jon is drunk");
private int alcholPercentage;
public void DrinkBevarage(Drink drink)
alcholPercentage += drink.Percentage;
Console.WriteLine(string.Format("Jon has a Drink of {0} percent \n",drink.Percentage));
Console.WriteLine(string.Format("Jon's Alchol Percentage {0} \n", alcholPercentage ));
Console.WriteLine("Jon Vomits \n");
System.Threading.Thread.Sleep(500);
private bool ShouldVomit()
System.Random rand = new System.Random();
int randomValue = rand.Next(0,10);
if (alcholPercentage >= 40)
public Drink(int percentage)