Skip to content

Instantly share code, notes, and snippets.

@Glammer
Created December 19, 2013 04:21
Show Gist options
  • Select an option

  • Save Glammer/8034387 to your computer and use it in GitHub Desktop.

Select an option

Save Glammer/8034387 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main()
{
int a;
a=9;
for (int i=0; i<a;i++){
for (int Cesp=0; Cesp < i ;Cesp++){
cout << ' ';
}
cout << i+1 ;
for (int esp2=(2*a)-3;esp2>=i;esp2--){
cout << '*';
}
cout <<endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment