int triangle1 = 0; int triangle2 = 9; for1: triangle2 = 9; for2: triangle2 -= 1; Console.Write(0); if (triangle2 > triangle1) goto for2; triangle1 += 1; Console.WriteLine(); if (triangle1 < 9) goto for1;
沒有留言:
張貼留言