Yes, you need to remove the first of your "cin >> temp2conv" and the cin.ignore() immediately after.
And you still have a lot of "if (something == 99 ...) ..." where you should have a "if (something == 'c' ...) ..."
If you use a construction like this:
you don't need to compare the upper case version, which makes you if-statements easier to read.Code:if (tolower(something) == 'c') ...
--
Mats