public static void Main()
Console.WriteLine(" budjet ");
int budjet = int.Parse(Console.ReadLine());
Console.WriteLine(" product ");
string product = Console.ReadLine();
Console.WriteLine(" price ");
int price = int.Parse(Console.ReadLine());
Console.WriteLine(" product2 ");
string product2 = Console.ReadLine();
Console.WriteLine(" price2 ");
int price2 = int.Parse(Console.ReadLine());
Console.WriteLine(" product3 ");
string product3 = Console.ReadLine();
Console.WriteLine(" price3 ");
int price3 = int.Parse(Console.ReadLine());
Console.WriteLine(" Stop! You don't have enough money for the first product ");
Console.WriteLine( price - budjet );
Console.WriteLine(" You have enough money for the first product ");
else if ( price + price2 > budjet )
Console.WriteLine(" You dont have enough money for the two product ");
Console.WriteLine( price + price2 - budjet);
else if ( price + price2 < budjet )
Console.WriteLine(" You have enough money for the two products ");
else if ( price + price2 + price3 > budjet )
Console.WriteLine(" You dont have enough money for the tree products ");
Console.WriteLine( price + price2 + price3 - budjet );
else if ( price + price2 + price3 < budjet )
Console.WriteLine(" You have enough money for the three product! You cant buy more products! ");
Console.WriteLine( price + price2 + price3 - budjet);