I am trying to prove the statement. This is my attempt. Can someone help me with it?
Attempt: Proof by contradiction,
Let's say all the elements of A are integers, but supA is not an integer.
Then by approximation property of real numbers, for any $\epsilon$>0, $\exists$ a $\in$ A such that supA- $\epsilon$ < a $\leq$ supA, which tells me that 'a' can be a non-integer, since the choice of $\epsilon$ was arbitrary.
Hence we are done.
Am I doing this right?
Seems right to me, assuming $A$ is finite. You might want to state more precisely what $\epsilon$ is exactly. You could state this in terms of $\sup(A)-\lfloor\sup(A)\rfloor$, for example. If you choose $\epsilon:=\frac{\sup(A)-\lfloor\sup(A)\rfloor}{2}$, you can be sure that $a\in A$ is chosen from an interval that does not intersect $\mathbb{Z}$.