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