📅  最后修改于: 2022-03-11 14:56:52.129000             🧑  作者: Mango
#include
using namespace std;
main()
{
int squareHeight, squareWidth;
cout<< "Enter Height: ";
cin>> squareHeight;
cout<< "Enter Widht: ";
cin>> squareWidth;
for(int width=1; width<=squareHeight; width++)
{
if(width <= 1)
for(int width=1; width<=squareWidth; width++)
{
cout<< "*";
}
else if(width