Etudes/BTS/C/Premiere annee/TP_boucle_tableuser.c

13 lines
257 B
C
Raw Permalink Normal View History

2016-10-14 15:11:52 +00:00
#include <stdio.h>
#include <stdlib.h>
int main()
{
int var, loop;
printf("Le chiffre que vous voulez mutliplier est :");
scanf("%d", &var);
for(loop = 0; loop <= 10; loop++){
printf("%d x %d = %d\n", loop, var, loop*var);
}
}