Hi i want to create a 2d array using a fuction.. the user will enter the dimensions(x,y) and the function will print it.. in the first row must appear the numbers 1,2,3...x and in the first column the caracters a,b,c,d,e....y(y is given as a number).. for example if the user enters x=5 y=7 it wii print:
1 2 3 4 5 6 7 8
1 2 3 4 5
a _ _ _ _ _
b _ _ _ _ _
c _ _ _ _ _
d _ _ _ _ _
f _ _ _ _ _
h _ _ _ _ _
i _ _ _ _ _
i wrote some code but i dont knoe how to do this with the letters..