static void Main(string[] args)
{
int n, i;
Console.WriteLine("Enter an integer to find multiplication table: ");
n = Int32.Parse(Console.ReadLine());
for (i = 1; i <= 10; ++i)
{
Console.WriteLine(n + " * " + i + " = " + n * i);
}
Console.ReadKey();
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace stringCont
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter Number to find Multiplication");
int num = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i <= 10; i++)
{
int r = num * i;
Console.WriteLine(r.ToString());
}
Console.Read();
}
}
}
Happy Coding