Artificial intelligent assistant

$G$ a non-abelian group of order $p^3$. Show that $Inn(G)$ is abelian. > Let $G$ be a non-abelian group of order $p^3$ for prime $p$. Show that $Inn(G)$ is abelian. The center of $G$, $Z(G)$, is of order $p$ (can be seen in this question). I also know that $G / Z(G)=Inn(G) \Rightarrow \frac{p^3}{p}=p^2=|Inn(G)|$. How can I proceed and show $Inn(G)$ is abelian?

We can prove that any group $G$ of order $p^2$ is abelian.

If $|Z(G)|=p^2$, then done. If $|Z(G)|=p$, then $G/Z(G)=p$ and so $G/Z(G)$ is cyclic. Suppose $hZ(G) (h\in G,h\
otin Z(G))$ is the generator of $G/Z(G)$. Then for any $g_1,g_2\in G$, there is $g_1=h^nz_1, g_2=h^mz_2$, where $z_1,z_2\in Z(G)$. Thus $$ g_1g_2=h^nz_1h^mz_2=h^nh^mz_1z_2=h^mz_2h^nz_1=g_2g_1 $$

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy b2f8c0109793ce04671865d56884800c