int j = 1;
string x;
while (j < 10)
{
int i = 1;
while (i < 10)
{
x = j.ToString() + " * " + i.ToString() + " = " + j * i;
textBox1.Text += x + Environment.NewLine;
i++;
};
j += 1;
}
全站熱搜
int j = 1;
string x;
while (j < 10)
{
int i = 1;
while (i < 10)
{
x = j.ToString() + " * " + i.ToString() + " = " + j * i;
textBox1.Text += x + Environment.NewLine;
i++;
};
j += 1;
}
留言列表