标签:os io for ios ef return include 图形
*
**
***
****
*****
****
***
**
*
#include<iostream>
using namespace std;
int main()
{
for(int i=1;i<=5;i++)
{
for(int j=1;j<=i;j++)
{
cout<<"*";
}
cout<<endl;
}
for(int m=4;m>=0;m--)
{
for(int n=1;n<=m;n++)
{
cout<<"*";
}
cout<<endl;
}
return 0;
}
标签:os io for ios ef return include 图形
原文地址:http://www.cnblogs.com/jixiaowu/p/3894190.html