|
发表于 2023-12-4 20:24:46
|
显示全部楼层
#include<iostream>
using namespace std;
int main(){
char a;
cin >> a;
cout << " " << a << " " << endl;
cout << " " << a << a << a << " " << endl;
cout << a << a << a << a << a << endl;
cout << " " << a << a << a << " " << endl;
cout << " " << a << " ";
return 0;
}
AC代码 |
|