Posted by: kalo_chasma March 2, 2011
IT -- Solutions Center[Forum]
Login in to Rate this Post:     0       ?        
have fun dude..C to C# (only works will 7, 11)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace myConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            MultiplicationTable(7, 11);
        }

        public static void MultiplicationTable(int a, int b)
        {
            int i;
            Console.Write("\t");
            for (i = a; i <= b; i++)
            {
                Console.Write(i + "\t");
            }
            Console.WriteLine();

            for (i = a; i <= b; i++)
            {
                Console.Write(i + "\t");
                for (int j = a; j <= b; j++)
                {
                    Console.Write(i * j + "\t");
                }
                Console.WriteLine();
            }
        }
    }
}
Read Full Discussion Thread for this article