I have linked my code here.
Hi, I am making an assistant type thing but I am running into an issue with my calculator. Every time I run the program and use the calculator it always skips the last 2 lines of code in the while()
function, which are:
getline(cin, cho);
transform(cho.begin(), cho.end(), cho.begin(), ::toupper);
And after that, it ends the program straight away. Instead of the program ending, I would like it to allow me to type in the user input. Any ideas on why this might be happening and how I could fix it?