I was wondering if I could have some help with logic for the following program prompt:
2) Please write a program that creates a 6 x 6 array where the first element in each row is a random number between -5 and +5 and every subsequent element in the row is equal to the previous number in the row plus 3. A different set of values should be displayed every time the program runs. Display the array on the screen neatly formatted (so that it appears as a 6 x 6 array). An example output from the program would be as shown below. Notice the first column has random integers between -5 and +5 and each subsequent column is the previous column adding 3 to each value.