Guest User

Untitled

a guest
Jan 12th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     int x,y,z;
  6.    
  7.     printf("Calcolerò i multipli del numero, 'x':\n");
  8.     scanf("%d",&x);
  9.     printf("Dammi un limite percui i multipli non andranno oltre :\n");
  10.     scanf("%d",&z);
  11.    
  12.     for (y=0;y<=z;y+=x) {
  13.         printf ("Ecco i Multipli:\n");
  14.         printf("%d \n",y);
  15.     }
  16.    
  17.     getchar();
  18.     return 0;
  19. }
Add Comment
Please, Sign In to add comment