#include<bits/stdc++.h>//这是万用头文件,也能用#include using namespace std; int main(){ char a;//定义字符 cin>>a;//询问字符 cout<<" "<<a<<" "<<endl;//打印字符 cout<<" "<<a<<" "<<a<<endl;//打印字符 cout<<a<<" "<<a<<" "<<a<<" "<<endl;//打印字符 return 0;//不加也行 }