题解:#8.打印字符三角形(仅供参考!!!) 审核通过

guojinyu 2024-05-11 21:21:22 2024-05-13 18:09:42 60
#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;//不加也行 
}
{{ vote && vote.total.up }}