DEV/BUT1/DEV1.1/revision/boucle-table.c
2024-02-01 13:55:03 +01:00

13 lines
246 B
C

#include <stdlib.h>
#include <stdio.h>
int main(void){
int table_choisie,i;
printf("entrez un entier : ");
scanf("%d",&table_choisie);
for(i=1;i<=10;i++){
printf("5 x %2d = %3d\n",i,i*5);
}
return EXIT_SUCCESS;
}