You are on page 1of 2

Tablas de multiplicar en C#

Console.WriteLine("¿Que tabla deseas saber?");


Console.WriteLine("Del 1 al 10");
string p=Console.ReadLine();
int n, x;
switch(p)
{
case "uno": for(x=1;x<=10;x++)
{
n=1*x;
Console.WriteLine("1" + "x" + x + "=" + n);
}
}

You might also like