返回列表 發帖
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
  for(int x=0;x<=3;x++)
  {
       for(int y=0;y<0+x;y++)
       {
            cout<<" ";   
       }
       for(int z=0;z<=10;z++)
       {
            cout<<"*";   
       }
       cout<<endl;         
  }      
  system ("pause");
  return 0;   
}

TOP

返回列表