#include<stdio.h>
main()
{
     int x, y, i;
     printf("Enter value of x and y \t");
     scanf("%d %d", &x, &y);      
     for(i=1; i<=y; i++ )
     {
          printf("%d x %d = %d \n", x, i, x*i);            
     }      
     system("pause");
}
