求实心矩形图案c++编程
发布网友
发布时间:2022-05-07 13:04
我来回答
共1个回答
热心网友
时间:2023-10-31 18:32
#include <iostream>
using namespace std;
const int LENGTH = 4;
const int WIDTH = 6;
int main()
{
for (int i = 0; i < LENGTH; i++)
{
for(int j = 0; j < WIDTH; j++)
{
cout<<"@";
}
cout<<endl;
}
return 0;
}
热心网友
时间:2023-10-31 18:32
#include <iostream>
using namespace std;
const int LENGTH = 4;
const int WIDTH = 6;
int main()
{
for (int i = 0; i < LENGTH; i++)
{
for(int j = 0; j < WIDTH; j++)
{
cout<<"@";
}
cout<<endl;
}
return 0;
}
热心网友
时间:2023-10-31 18:32
#include <iostream>
using namespace std;
const int LENGTH = 4;
const int WIDTH = 6;
int main()
{
for (int i = 0; i < LENGTH; i++)
{
for(int j = 0; j < WIDTH; j++)
{
cout<<"@";
}
cout<<endl;
}
return 0;
}
热心网友
时间:2023-10-31 18:32
#include <iostream>
using namespace std;
const int LENGTH = 4;
const int WIDTH = 6;
int main()
{
for (int i = 0; i < LENGTH; i++)
{
for(int j = 0; j < WIDTH; j++)
{
cout<<"@";
}
cout<<endl;
}
return 0;
}
热心网友
时间:2023-10-31 18:32
#include <iostream>
using namespace std;
const int LENGTH = 4;
const int WIDTH = 6;
int main()
{
for (int i = 0; i < LENGTH; i++)
{
for(int j = 0; j < WIDTH; j++)
{
cout<<"@";
}
cout<<endl;
}
return 0;
}
热心网友
时间:2023-10-31 18:32
#include <iostream>
using namespace std;
const int LENGTH = 4;
const int WIDTH = 6;
int main()
{
for (int i = 0; i < LENGTH; i++)
{
for(int j = 0; j < WIDTH; j++)
{
cout<<"@";
}
cout<<endl;
}
return 0;
}
热心网友
时间:2023-10-31 18:32
#include <iostream>
using namespace std;
const int LENGTH = 4;
const int WIDTH = 6;
int main()
{
for (int i = 0; i < LENGTH; i++)
{
for(int j = 0; j < WIDTH; j++)
{
cout<<"@";
}
cout<<endl;
}
return 0;
}
热心网友
时间:2023-10-31 18:32
#include <iostream>
using namespace std;
const int LENGTH = 4;
const int WIDTH = 6;
int main()
{
for (int i = 0; i < LENGTH; i++)
{
for(int j = 0; j < WIDTH; j++)
{
cout<<"@";
}
cout<<endl;
}
return 0;
}