public static void Main()
double[] range = { 1000, 1500, 2000, 3500 };
int[] percent = { 5, 10, 15, 20 };
Console.Write("Input total :");
int pp = int.Parse(Console.ReadLine());
Console.WriteLine("Get 0%");
Console.WriteLine("Total is {0:n}",pp);
for(int i =0; i<range.Length;i++)
Console.WriteLine("Get {0}%",percent[i]);
Console.WriteLine("Total is {0:n}",pp-((pp*percent[i])/100));
if(pp >= 1000 && pp < 1500)
Console.WriteLine("Get {0}%",percent[0]);
Console.WriteLine("Total is {0:n}",pp-((pp*percent[0])/100));
if (pp >= 1500 && pp < 2000)
Console.WriteLine("Get {0}%",percent[1]);
Console.WriteLine("Total is {0:n}",pp-((pp*percent[1])/100));
if(pp >= 2000 && pp < 3500)
Console.WriteLine("Get {0}%",percent[2]);
Console.WriteLine("Total is {0:n}",pp-((pp*percent[2])/100));
Console.WriteLine("Get {0}%",percent[3]);
Console.WriteLine("Total is {0:n}",pp-((pp*percent[3])/100));