I started coding a program and the first function I'm coding is supposed to get a weight factor from the user and use that factor to return the planet (planets enum type) with that factor.I created a small driver program to test the function and I'm getting a strange error. Can someone tell me whats wrong with the code.