Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int i, j;
- int nombrelignes=0, nombrex=0;
- scanf("%d", &nombrelignes);
- for(i=0; i<=nombrelignes ; i++)
- {
- for (j=0; j<nombrex;j++) printf("X");
- printf("\n");
- nombrex ++;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement