A96168.皓仔的圣诞树
2026-02-09 12:38:58
发布于:河北
0阅读
0回复
0点赞
解题思路
本题考查 endl 的使用理解,根据题意可以分 5 行输出
代码
#include <bits/stdc++.h>
using namespace std;
int main(){
cout << " * " << endl;
cout << " *** " << endl;
cout << "*****" << endl;
cout << " * " << endl;
cout << " * " << endl;
return 0;
}
这里空空如也








有帮助,赞一个