Please don't change anything. Put your code in line 7, 11 and 13.
Write a method namedgetSquares which takes an integer array and returns a new integer array of the same length where each element is the square of the corresponding element in the input array. For example, if the input array is {2, 4, 5} the output would be {4, 16, 25}.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here