//Evaluate expressions of the type // 1 + 4 + 5 + 7 = #include using namespace std; int main() { //declare variables int n, t=0; char c; //Operation do { cin >> n >> c; t= t+n; }while(c!='='); //output cout << t << endl; return 1; }