for (int i=0; i<10; i++){int j = i*i;Console.WriteLine(i.ToString());if (j == 7)break;Console.WriteLine(j.ToString());}