The total energy of the body executing SHM is 10 J.

A. Potential energy is 5 J, kinetic energy is 5 J
B. Potential energy is 10 J, kinetic energy is 0 J
C. Potential energy is 0 J, kinetic energy is 10 J
D. Potential energy is 7 J, kinetic energy is 3 J