Ask your own question, for FREE!
Computer Science 7 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
laylasnii13: Can i dm anybody to vent having a rough time ??
10 hours ago 1 Reply 0 Medals
kaelynw: starting to draw a hand
27 minutes ago 16 Replies 2 Medals
Twaylor: Rate it :D (Took 2 days)
10 hours ago 7 Replies 0 Medals
XShawtyX: Art, Short Writing Assignment: Imagining Landscapes
9 hours ago 4 Replies 1 Medal
XShawtyX: Chemistry, Help ud83dude4fud83cudffe
1 day ago 13 Replies 1 Medal
kaelynw: tried a lil smt, the arm is off but i like the other stuff
1 day ago 27 Replies 3 Medals
kaelynw: art igg
1 day ago 14 Replies 1 Medal
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!