Ask your own question, for FREE!
Computer Science 38 Online
sleepyjess:

@nuts

nuts:

{ do { menu(); switch(menuSelection) { case '1': { optionOne(length, feetToMeters); break; } case '2': { optionTwo(length, metersToFeet); break; } case '3': { optionThree(length, width, area); break; } case '4': { optionFour(length, width, height, volume); break; } case '5': { cout << "Thank you for using this program. Goodbye." << endl; break; } } }while(menuSelection != 5); }

nuts:

get rid of single quotes around your case statements because you're cinning them as ints and not as chars.

nuts:

so like case 1, case 2, etc

sleepyjess:

aha! that worked :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
SwaggyMark: Need help on process of annuity problem
4 hours ago 3 Replies 0 Medals
SwaggyMark: Need guidance on how to solve this annuity problem
5 hours ago 25 Replies 1 Medal
Nina001: Tips for acid reflux
4 hours ago 3 Replies 0 Medals
gelphielvr: How would you write Dinitrogen disulfide?
9 hours ago 3 Replies 1 Medal
xXAikoXx: What's ethos, pathos, logos?
9 hours ago 9 Replies 4 Medals
Breathless: Sonic. Dead or alive. IS MINE
1 hour ago 6 Replies 0 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!