fork download
  1. #include<stdio.h>
  2.  
  3. int main(void) {
  4. for (int row = 0; row < 7; row++) {
  5. for (int column = 0; column < row; column++) printf("*");
  6. printf("\n");
  7. }
  8. printf("\n");
  9. }
  10.  
  11. //https://pt.stackoverflow.com/q/171588/101
Success #stdin #stdout 0s 4192KB
stdin
Standard input is empty
stdout
*
**
***
****
*****
******