public static void Main()
Console.Write("Input Price of car : ");
float pc = float.Parse(Console.ReadLine());
Console.Write("Depreciation per year <%> : ");
int d = int.Parse(Console.ReadLine());
Console.Write("How many yaer you watn to see : ");
int y = int.Parse(Console.ReadLine());
Console.WriteLine("-----------------------------------------------------------------------");
Console.WriteLine("Price of Car = {0:N} Bath ",pc);
Console.WriteLine("-----------------------------------------------------------------------");
for (int i = 1 ; i <= y; i++)
Console.WriteLine("After use {0} Year : Reduce = {1:N} Bath Price = {2:N} Bath",i,re,pc-re);
Console.WriteLine("-----------------------------------------------------------------------");