SHARE
TWEET

Untitled

a guest Aug 12th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. #include <stdio.h>
  3.  
  4. int main()
  5. {
  6.     int i, j;
  7.     int nombrelignes=0, nombrex=0;
  8.     scanf("%d", &nombrelignes);
  9. for(i=0; i<=nombrelignes ; i++)
  10. {
  11. for (j=0; j<nombrex;j++) printf("X");
  12. printf("\n");
  13. nombrex ++;
  14. }
  15. return 0;
  16. }
RAW Paste Data
Top