The sum of a nonzero integer and zero has the same value as the square of the integer.What is the integer?

not just an answer.

A.-2
B.-1
C.0
D.1
E.2

1 answer

x+0 = x^2
x^2 - x = 0
x(x-1) = 0

x = 0 or x = 1, but x was to be a non-zero integer

so x = 1