Hello Guys! Welcome To My Blog!
HOW TO PRINT CUSTOM TABLE?
Today we will be learn how to print custom table this code is very easy
In This Code we have to use Only Loop One time!
using System;
namespace Array
{
class Program
{
static void Main(string[] args)
{
int enter;
Console.WriteLine("Enter Table Number");
enter =int.Parse( Console.ReadLine());
for( int i=1; i<=10; i++) //this loop used for print table
{
Console.WriteLine(enter+"x"+i+"="+(enter*i));
}
Console.ReadLine();
}
}
}
Comments
Post a Comment