DEV/BUT1/DEV1.1/revision/boucle-table.c

13 lines
246 B
C
Raw Normal View History

2024-02-01 13:55:03 +01:00
#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;
}