public static void Main()
Console.WriteLine("enter the maximum money you will go to buy");
max=int.Parse(Console.ReadLine());
Console.WriteLine("enter the price of the product");
pri=int.Parse(Console.ReadLine());
Console.WriteLine("you arivved to the maximun money \n the S is {0}",max);