public static void Main()
double BakingPowder1, BakingPowder2, Flour1, Flour2, Sugar, Eggs1, Eggs2, Money, TotalCost;
Console.WriteLine("What is the cost of one bag of baking powder?");
BakingPowder1=double.Parse(Console.ReadLine());
BakingPowder2=(BakingPowder1-(BakingPowder1*20)/100);
Console.WriteLine("The price of two bags of baking powder together is:"+" "+(BakingPowder1+BakingPowder2));
Console.WriteLine("What is the cost of one bag of flour?");
Flour1=double.Parse(Console.ReadLine());
Console.WriteLine("The price of one bag of flour is:"+" "+Flour1);
Flour2=((Flour1+BakingPowder1)/2);
Console.WriteLine("The price of the second bag of flour is:"+" "+Flour2);
Console.WriteLine("The price of both of the flour bags together is:"+" "+(Flour2+Flour1));
Console.WriteLine("What is the cost of one bag of sugar?");
Sugar=double.Parse(Console.ReadLine());
Console.WriteLine("Oh no! There is no discount on the second bag of the sugar, but you still need to buy two of them for the cake.. would you buy two bags? true/false");
Condition=bool.Parse(Console.ReadLine());
Console.WriteLine("Okey, the total price of the suger is:"+" "+(Sugar*2));
Console.WriteLine("what is the price of a pack of eggs usually?");
Eggs1=double.Parse(Console.ReadLine());
Console.WriteLine("These days, because of the corona virus, the eggs cost 30% more than usual.");
Eggs2=(Eggs1+(Eggs1*30)/100);
Console.WriteLine("The new price of a pack of eggs is:"+" "+Eggs2);
Console.WriteLine("Yay! I think we finished the shopping for the cake. Now, we need to see how much all of the products cost and if we have the money for it.");
Console.WriteLine("How much money did we brought with us?");
Money=double.Parse(Console.ReadLine());
TotalCost= (BakingPowder1+BakingPowder2+Flour2+Flour1+(Sugar*2)+Eggs2);
Console.WriteLine("The total cost of all of the products is:{0}",TotalCost);
Console.WriteLine("Okey, the total price of the suger is:"+" "+(Sugar));
Console.WriteLine("what is the price of a pack of eggs usually?");
Eggs1=double.Parse(Console.ReadLine());
Console.WriteLine("These days, because of the corona virus, the eggs cost 30% more than usual.");
Eggs2=(Eggs1+(Eggs1*30)/100);
Console.WriteLine("The new price of a pack of eggs is:"+" "+Eggs2);
Console.WriteLine("Yay! I think we finished the shopping for the cake. Now, we need to see how much all of the products cost and if we have the money for it.");
Console.WriteLine("How much money did we brought with us?");
Money=double.Parse(Console.ReadLine());
TotalCost=(BakingPowder1+BakingPowder2+Flour2+Flour1+Sugar+Eggs2);
Console.WriteLine("The total cost of all of the products is:{0}",TotalCost);
Console.WriteLine("We have enough money!");
Console.WriteLine("The excess is:"+" "+(Money-TotalCost));
Console.WriteLine("We don't have enough money!");
Console.WriteLine("We are missing:"+" "+(Money-TotalCost)+" "+"Shekels");