I Have A Programming Assignment In Which I Need To Generate An Array Of Numbers

I have a programming assignment in which i need to generate an array of numbers, I have a little example, not much.

20 0 1

15 -5 2

25 -3 3

10 25 5

I can setup the arguments to prevent invalid numbers, and for print formatting/ file appending, but I cannot setup the array.

I must ask the user for three numbers:

The first number represents how many rows are to be in the table (1 to 25).

The second number represents the first value in the first column of the table. (-1000 to +1000).

And the third number represents the increment between successive values in the first column of the table. (-10 to 20).

Thank you,