Write Program Performs Basic Addition Subtraction Cin Program Takes One String Series 1 Nu Q37119415

Write a program that performs the basic addition/ subtraction. From cin your program takes one string, which is a series of:4. Repeat the following until you read all digits from the string: 1. Read two digits. The first one is an operator (either+Write a program that performs the basic addition/ subtraction. From cin your program takes one string, which is a series of: 1. A number digit 2. An operator (either’or ) and another number digit 3. Repeat 2 for arbitrary times The following is a list of example input strings: . 3-1+2+3 :

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.