public static void Main()
int[] month = new int[13];
Console.WriteLine("Укажите год рождения");
y=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Укажите месяц рождения");
m=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Укажите день рождения");
d=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Укажите текущий год");
Y=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Укажите текущий месяц");
M=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Укажите текущий день");
D=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Всего прожито "+r+" дней");
Console.WriteLine("Всего прожито "+(r*24)+" часов по дням");
Console.WriteLine("Всего прожито "+((r*24)*60)+" минут по дням");
Console.WriteLine("Всего прожито "+(((r*24)*60)*60)+" секунд по дням");