using System;
public class Program
{
public static void Main()
int i=0;
int j=0;
for (; i < 10; i++)
for (; j < 10; j++)
if (i == 5 && j == 5)
// how would you exit both for loops
}
Console.WriteLine("should write i=" + i + " and j=" + j);