Is there a way which i can multiply each number that is stored within an array by n.
For example,
public static int [] intArray = new int [] {1,2,3,4,5,6,7};
n = 3
it should output: 3, 6, 9, 12,15,18, 21.
I'm not sure how to do this, help would be appreciated!