Ask your own question, for FREE!
Computer Science 75 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
luvnickk: If yalll fw the weeknd your a 10 !!
10 minutes ago 10 Replies 1 Medal
Ash2746: Anyone know anything interesting about the Cold War?
45 seconds ago 11 Replies 2 Medals
Austinsbabygirl4life: Texas schools look funn
26 minutes ago 6 Replies 2 Medals
chuu: Is it (Hunt 30-31) or (Hunt 30-1) in MLA?
1 hour ago 1 Reply 0 Medals
luvnickk: what typa music yall listen to ?
51 minutes ago 28 Replies 3 Medals
GothgirlLillian: Is music considered art?
56 minutes ago 8 Replies 0 Medals
luvnickk: am newwww
13 hours ago 0 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!