Line 100 should be switch(planet), not switch(planetNames);.
planet is the identifier, planetNames is an enum type.
Also, ditch the semi-colon (;).
Line 97: Remove the semi-colon.
You're also missing a closing brace (}) for the body of your findPlanetName() function. Put a closing brace on line 96.
On line 99 (or line 100 once you've added the previously mentioned closing brace) you've declared and initialized double weightonPlanet = 0;, but later you try to return weightOnPlanet;. C++ is case-sensitive.
Also, congratulations and thank you for making the effort of using code-tags in your first post. Welcome to the forum!