Storing a number in a simple calculator, then recalling it in an equationMy logic is to do something like this: [code] //Input cin >> num1 >> oper >> num2; if (num1 == 's')...
Storing a number in a simple calculator, then recalling it in an equationI'm writing a calculator that can store the answer to memory and recall it later. I'm accomplishing ...
Random number generatorThank you all for the awesome responses! The lookup table really helped simplify the code.
Random number generatorI'm trying to create a magic 8-ball style program for class. This program meets all the specificatio...
Setting limitations on variablesThank you so much! Duoas that was super helpful. It's also working perfectly, though it's a bit past...