I was looking at this answer but ran into some problems while working through it. Using $\sin(x)=\frac{e^{ix}-e^{-ix}}{2i}$ :
$$\begin{align}\frac{1}{2\pi}\int_{0}^{2\pi}{\sin^{100}(x)\, dx}&=\frac{1}{2\pi}\int_{0}^{2\pi}{(e^{ix}-e^{-ix})^{100}(2i)^{-100}\, dx}\\&=\frac{1}{2^{101}\pi}\int_{0}^{2\pi}{\sum_{k=0}^{100}{100\choose{k}}e^{ikx}(-1)^{100-k}e^{-ix(100-k)}\, dx}\\&=\frac{1}{2^{101}\pi}\sum_{k=0}^{100}{100\choose{k}}(-1)^{100-k}\int_{0}^{2\pi}{e^{ix(2k-100)}\, dx}\end{align}$$
Edit : Assuming the interchange is allowed at all
The exponent inside the integral ($2k-100$) will be nonzero unless $k=50$, but from the answer if $k\neq0$ then the integral goes to $0$, no? How should this be evaluated?