#include <iostream> #include <string> using namespace std; int main(int argc, char** argv) { char a; cout<<"请输入一个字符:"; cin>>a; cout<<" "<<a<<endl; cout<<" "<<a<<a<<a<<endl; cout<<a<<a<<a<<a<<a<<a; return 0; }
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/288883.html