i need a program than can be ask user : name , age , id , and salary
then shows me the maximum salary and minimum salary
and then sort salary from maximum to minimum .
please complete these program for me
public string name;a
public int age;
public bool ID;
private int salary;
public void Staff()
{
Console.WriteLine("enter your name");
name = Console.ReadLine();
Console.WriteLine("enter your age : ");
age = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("enter your ID:");
ID = Console.ReadLine();
Console.WriteLine("enter your salary:");
income = Convert.ToInt32(Console.ReadLine());
}