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
Related code examples
Write a function that takes an integer n and returns a random integer with exactly n digits. For instance, if n is 3, then 125 and 593 would be valid return values, but 093 would not because that is really 93, which is a two-digit number.