If the square root of the given number is an integer, the answer is the square root. Otherwise, square the given number. All answers are positive numbers. e.g. The square root of 4 is an integer, so answer is 2. The square root of 3 is not an integer, so the answer is 9 (the square of 3).