Untitled
unknown
plain_text
a year ago
281 B
3
Indexable
Never
#include <stdio.h> #include <stdlib.h> void triangolo(int l){ int i, j; for(i = 1; i < l + 1; i++){ for(j = 0; j < i; j++){ printf("%d", i); } printf("\n"); } } int main(int argc, char *argv[]) { int x; scanf("%d", &x); triangolo(x); return 0; }