c# loop 2 time tables

43

c# loop 2 time tables -

for (int i = 1; i <= 10; i++)
{
   for (int j = 2; ;)
    {
        Console.WriteLine($"{j} x {i} = {i * j}");
        break;
    }
}
Console.ReadLine(); 

Comments

Submit
0 Comments