Skip to content

Instantly share code, notes, and snippets.

@nesffer
Last active August 29, 2015 14:20
Show Gist options
  • Save nesffer/0603b0c3f3ded7179b71 to your computer and use it in GitHub Desktop.
Save nesffer/0603b0c3f3ded7179b71 to your computer and use it in GitHub Desktop.
2015-04-27 No.4
#include <stdio.h>
int main() {
for (int i = 0; i < 20; i++) {
for (int j = 20; j > i; j--) {
printf("*");
}
printf("\n");
}
return 0;
}
/*
********************
*******************
******************
*****************
****************
***************
**************
*************
************
***********
**********
*********
********
*******
******
*****
****
***
**
*
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment