问题标题: 酷町堂1111号题怎么写

0
0

0
已采纳
陆麟瑞
陆麟瑞
资深天翼
资深天翼

直接用cout输出

也可以用循环

cout<<"*";
    cout<<endl;
    cout<<"**";
    cout<<endl;
    cout<<"***";
    cout<<endl;
    cout<<"****";
    cout<<endl;
    cout<<"*****";
    cout<<endl;
    cout<<"******";
    cout<<endl;
    cout<<"*******";
    cout<<endl;
0
张马润泽
张马润泽
初级光能
初级光能
cout<<"*"<<endl<<"**"<<endl<<"***"<<endl<<"****"<<endl<<"*****"<<endl<<"******"<<endl<<"*******";
    return 0; 

 

0
王子轩
王子轩
新手光能
新手光能
    cout<<"*\n";
    cout<<"**\n";
    cout<<"***\n";
    cout<<"****\n";
    cout<<"*****\n";
    cout<<"******\n";
    cout<<"*******\n";
0
褚福磊
褚福磊
新手光能
新手光能
    cout<<"*"<<endl;
    cout<<"**"<<endl;
    cout<<"***"<<endl;
    cout<<"****"<<endl;
    cout<<"*****"<<endl;
    cout<<"******"<<endl;
    cout<<"*******"<<endl;

0
0
欧阳语聪
欧阳语聪
资深守护
资深守护
cout<<"*";
cout<<endl;
cout<<"**";
cout<<endl;
cout<<"***";
cout<<endl;
cout<<"****";
cout<<endl;
cout<<"*****";
cout<<endl;
cout<<"******";
cout<<endl;
cout<<"*******";
0
0
时梓繁
时梓繁
修练者
修练者
int a;
    cout<<"*"<<endl;
    cout<<"**"<<endl;
    cout<<"***"<<endl; 
    cout<<"****"<<endl;
    cout<<"*****"<<endl;
    cout<<"******"<<endl;
    cout<<"*******"<<endl;
    return 0;
}
我要回答