write a program which takes 2 digits, x,y as input and generates a 2-dimensional array. the element value in the i-th row and j-th column of the array should be i*j

0

Write a program which takes 2 digits, X,Y as input and generates a 2-dimensional array. The element value in the i-th row and j-th column of the array should be i*j.