📌  相关文章
📜  在线将 c 代码转换为 c - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:52.129000             🧑  作者: Mango

代码示例2
#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