以下选项中,可以输出如下图案的是( )
******
******
******
******
******
int n = 5, m = 6;
for(int i = 0; i < n; i++)
{
for(int j = 0; j < m; j++)
cout << "*";
}
int n = 5, m = 6;
while(n > 0)
{
for(int j = 0; j < m; j++)
cout << "*";
n--;
cout << endl;
}
int n = 5, m = 6;
for(int i = 1; i <= n; i++)
{
for(int j = 0; j < m; j++)
{
cout << "*" << endl;
}
}
int n = 5, m = 6;
while(m > 0)
{
for(int j = 0; j < n; j++)
cout << "*";
m--;
cout << endl;
}