#include
using namespace std;
int main()
{
int i = 1;
int j = 1;
while (i < 10)
{
while (j <= i)
{
cout << j;
j++;
}
i++;
}
system("pause");
return 0;
}
不知道哪错了
#include
using namespace std;
int main()
{
int i = 1;
int j = 1;
while (i < 10)
{
while (j <= i)
{
cout << j;
j++;
}
i++;
}
system("pause");
return 0;
}
不知道哪错了