public static void Main()
Console.Write( "What table number do you want? " );
int table = Convert.ToInt32(Console.ReadLine());
Console.Write( "How many times do you want the table upto?" );
int upto = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i <= upto; i = i + 1)
Console.WriteLine(table + "*" + i + "=" + (table * i));