BUT2/DEV/DEV1.1/TP_Boucles/q3.c
2023-10-23 13:23:36 +02:00

18 lines
302 B
C

#include <stdio.h>
#include <stdlib.h>
int main(void) {
int table;
int i;
printf("Saisissez un chiffre : ");
scanf("%d", &table);
for (i=0;i<=10;i+=1){
printf("%d",i);
printf(" x ");
printf("%d",table);
printf(" = ");
printf("%d\n",i*table);
}
return EXIT_SUCCESS;
}