请先登录

📝 下列代码输出的图形规律是( )。 ```cpp for(int i=1; i<=4; i++) { for(int j=1; j<=i; j++) cout << "*"; cout << endl; } ```

📂 C++  ·  ⚡ 难度 1  ·  ❓ 单选题  ·  📖 二级模拟
🏷️ 二级模拟
📖 二级模拟

下列代码输出的图形规律是( )。
```cpp
for(int i=1; i<=4; i++) {
for(int j=1; j<=i; j++) cout << "*";
cout << endl;
}
```