DEV_BUT1/DEV1.1/CONTROLE/histogramme.c

16 lines
224 B
C
Raw Normal View History

2022-10-18 14:50:36 +02:00
#include <stdio.h>
#include <stdlib.h>
int main(void){
int tab[20] = {8,12,14,3,1,5};
int l = 6;
int i;
int a;
for(i = 0; i < l; i++){
for(a=0; a< tab[i]; a++){
printf("");
}
printf("\n");
}
return 0;
}