@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); }
get rid of single quotes around your case statements because you're cinning them as ints and not as chars.
so like case 1, case 2, etc
aha! that worked :)
Join our real-time social learning platform and learn together with your friends!