public static void Main()
Person person = new Person(Console.ReadLine(), Console.ReadLine(), int.Parse(Console.ReadLine()), int.Parse(Console.ReadLine()));
person.IncreaseSalary(int.Parse(Console.ReadLine()));
private string firstName;
get { return this.firstName; }
set { this.firstName = value; }
get { return this.lastName; }
set { this.lastName = value; }
set { this.age = value; }
get { return this.salary; }
set { this.salary = value; }
public Person(string firstName, string lastName, int age, int salary)
this.FirstName = firstName;
this.LastName = lastName;
public void IncreaseSalary(int percent)
this.salary=this.salary * (percent/100);
Console.WriteLine("New salary: {0}", this.Salary);
Console.WriteLine("new salary: {0}", salary*=(percent/2)/100);