20
1
using System;
2
3
public class NestedWhileLoopProgram
4
{
5
public static void Main()
6
{
7
int i=1;
8
while(i<=3)
9
{
10
int j = 1;
11
while (j <= 3)
12
{
13
Console.WriteLine(i+" "+j);
14
j++;
15
}
16
Console.WriteLine("End of iteratoin number "+i +" of while loop");
17
i++;
18
}
19
}
20
}
Cached Result