Ajay Kumar

Ajay Kumar

  • NA
  • 1
  • 2.5k

Multiplication table : Correct which Worls

Jan 13 2013 4:24 AM
using System;
public class MultiplicationTable
{
public static void Main()
{
int i;
Console.WriteLine("Enter the No. ");
i =Convert.ToInt32(Console.ReadLine());

{
int j = 1;
while (j <= 10)
{
Console.WriteLine(" {0} x {1} = {2} ", i, j, i*j);
j++;
}
}
}
}

Answers (1)