Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     int x = 0;
  7.  
  8.     printf("Saisie un nombre : ");
  9.     int i = scanf("%d", &x);
  10.  
  11.     for (int i = 0; i < 11; i++)
  12.     {
  13.         int quotient = i * x;
  14.         printf("%d * %d = %d \n",x,i,quotient);
  15.     }
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement