public static void Main()
Console.WriteLine("What would like to multiply up to?");
int times = Convert.ToInt32(Console.ReadLine());
for (z = 1; z <= times; z++){
Console.Write("{0,10}", +z);}
Console.WriteLine(new string ('_', line));
for (z = 1; z <= times; z++){
if (z<=9) Console.Write("{0,1}{1,1}", +z, " |");
else if (z>9) Console.Write("{0,1}{1,1}", +z, "|");
for (int x = 1; x <= times; x++){
if (x==times) Console.WriteLine("{0,10}", (z*x));
else Console.Write("{0,10}", z*x);}