easy
2025-04-09 15:39:31
发布于:广东
3阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
for(int i = 1; i <= n; i++)
{
for(int j = 1; j < i; j++)
cout << " ";
for(int j = 1; j <= n; j++)
cout << "*";
cout << endl;
}
}
这里空空如也
有帮助,赞一个