Question: C++ please. Can you build off of this code, this is what I have. As in, use my given code that reads one string of

C++ please. Can you build off of this code, this is what I have.
As in, use my given code that reads one "string" of formulas, to build the new code that reads the semi colon (;) as the end of a formula and moves on to the other. The code that I provided is only able to read one formula, im supposed to edit it to make it be able to read multiple formulas. C++ please. Can you build off of this code, this is what
I have. As in, use my given code that reads one "string"

10 #include using namespace std; int main() { int s, sum = 0; cin >> sum; char op: while(cin >> op >> s) { // While the reading operation is a success if(op-''){ sum - sum + s; else if (ope'-'){ sum - sum -3; cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!