static int Gift(int years, int month)
if(years >3 && month>1200)
else total=total*years*0;
public static void Main(string[] args)
Console.WriteLine("enter how many years you work at this job");
years=int.Parse(Console.ReadLine());
Console.WriteLine("enter how many times you buying in month");
month=int.Parse(Console.ReadLine());
if(Gift(years,month) ==0)
general=general+Gift(years,month);
Console.WriteLine("numbers of customers that got gify is:" + count);
Console.WriteLine("total count of gift is:" + general);