Why does my program terminate when the user puts in his input? I have it so that the user puts in the number that is next to the subject in math they need help on and it takes them to the function where it'll have all the things they need and such. I am a noob at this and I need some help please somebody help!
int main()
{
cout << "Welcome to your very own Homework helper!(math edition)" << endl;
cout << "Choose subject in math that you would like us to help you with." << endl;
cout << "" << endl;
cout << "" << endl;
When calling functions you do not need to specify their return type, so get rid of the "void" on all of the switch statement cases and it should work correctly.
(Also on case 1 make sure "Multiplication" is written correctly)
Thanks guys I really appreciate it, I am a beginner so I'm not too good with this stuff. Oh and thank you James2250 for reminding me how to spell Multiplication :P