Skip to content

Instantly share code, notes, and snippets.

@keefo
Forked from Glammer/gist:8017611
Created June 8, 2019 04:15
Show Gist options
  • Select an option

  • Save keefo/ad96dcdec908dc55afd98057fc0917ff to your computer and use it in GitHub Desktop.

Select an option

Save keefo/ad96dcdec908dc55afd98057fc0917ff 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