public static void Main()
Console.WriteLine("Введіть число:А ");
int a = int.Parse(Console.ReadLine());
Console.WriteLine("Введіть число:B ");
int b = int.Parse(Console.ReadLine());
Console.WriteLine("Введіть число:C ");
int c = int.Parse(Console.ReadLine());
if (a<0) s = s+1; else s = s+0;
if (b<0) s = s+1; else s = s+0;
if (c<0) s = s+1; else s = s+0;
Console.WriteLine("Від`ємних чисел:" +s);