Hello! First of all my name is Francesco and i'm new to Java and this forum.

I have a test to take and i don't manage to do it alone.

I'm hoping that someone can help me get thru it.My whole future depends on my exam

This are the requests:

I need to create a class named "Forza" with a method "Matrice" that does the next operations:

1.Has the integers "n" and "m"

2.Has a vector "v" with the dimensions "m"

3.If the vector is composed of odd numbers or under 18, Exit

4.Create a matrix with the dimension n X m where the first row is given by the V vector, the second row by the V vector multiplied by 2, the third one, V multiplied by 3 and so on.

5.Write the matrix in output.

Should be something like this:

If the Vector is [3 5 9 1], the matrix to print is:

3 5 9 1

6 10 18 2

9 15 27 3

12 20 36 4

15 25 45 5

Hopefully i didn't posted in the wrong section.

As i said...my future depends on this.Please help.Thank you!