DEV/DEV1.1/TP05/table.c

13 lines
211 B
C
Raw Normal View History

2022-10-04 17:30:38 +02:00
#include <stdio.h>
#include <stdlib.h>
int main(void){
int x = 0;
int i;
printf("Rentrer un entier: ");
scanf("%d",&x);
for(i = 1;i<11;i++) {
printf("%d x %d = %d \n",x,i,x*i);
}
return EXIT_SUCCESS;
}