Display the first and last digit of the value that the userentered.Use text to label them nicely. C#

Console.WriteLine(“Give me a number in inches please so i canuse some witchcraft to figure out the yardage,feet, andinches!”);

int totalInches = Convert.ToInt32(Console.ReadLine());
int yards = totalInches / 36;
int remainingInches = totalInches % 36;
int feet = totalInches / 12;
int inches = totalInches % 12;

Console.WriteLine(yards + ” yards, “);
Console.WriteLine(feet + ” feet,”);
Console.WriteLine(inches + ” inches”);

  

  
Console.WriteLine(“Press any key to continue…”);
Console.ReadKey();
}