Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement