public string occupation;
BMI=weight/(height*height);
Console.WriteLine("Справка за здравния статус");
Console.WriteLine("{0}-{1} год.", this.name, this.age);
Console.WriteLine("Тегло кг: {0}", this.weight);
Console.WriteLine("Ръст см: {0}", this.height);
Console.WriteLine("Индекс на телесната маса: {0:f2}", BMI);
Console.WriteLine("Лицето {0} след 10 години ще бъде на {1}", this.name, this.age + 10);
public static void Main()
Console.WriteLine("Въведи име");
n.name = Console.ReadLine();
Console.WriteLine("Въведи пол");
n.gender = Console.ReadLine();
Console.WriteLine("Въведи години");
n.age = int.Parse(Console.ReadLine());
Console.WriteLine("Въведи раса");
n.race = Console.ReadLine();
Console.WriteLine("Въведи професия");
n.occupation = Console.ReadLine();
Console.WriteLine("Въведи образование");
n.education = Console.ReadLine();
Console.WriteLine("Въведи тегло");
n.weight = double.Parse(Console.ReadLine());
Console.WriteLine("Въведи ръст");
n.height = double.Parse(Console.ReadLine());
Console.WriteLine("Въведи адрес");
n.adress = Console.ReadLine();
Console.WriteLine("Въведи домашен любимец");
n.pet = bool.Parse(Console.ReadLine());