public static void Main()
Console.WriteLine("Welcome, please enter the weights of each ingredients");
string qwe = Console.ReadLine();
if(qwe[qwe.Length-1] != ' ')
num = qwe.Substring(0,qwe.IndexOf(" "));
int n = Convert.ToInt32(num);
qwe = qwe.Substring(qwe.IndexOf(" ")+1);
}while(Convert.ToInt32(num)>0);
Console.WriteLine("Not enough ingredients");
Console.WriteLine("Too many ingredients");
finalWeight = (float)sum/count;
finalWeight = Math.Round(finalWeight,3);
Console.WriteLine("The final product weights "+finalWeight+" pounds and is "+pure+" percent pure ");