Skip to content

Instantly share code, notes, and snippets.

@Glammer
Created December 18, 2013 05:18
Show Gist options
  • Select an option

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

Select an option

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