Wow thanks guys, everything works now once I figure out how to make 1/2=.5...thank you guys so much I have been working on this for over a week and it is due at 930 tonight so thanks againCode:#include <iostream> #include <string> using namespace std; int main() { string operation, firstnumber, secondnumber; float value; int number1, number2; // Ask user for numbers and operator cout << "Please enter the first number(zero, one or two): " << endl; cin >> firstnumber; cout << "Please enter operator(plus, minus, divide, times): " << endl; cin >> operation; cout << "Please enter the second number(zero, one or two): " << endl; cin >> secondnumber; // Solve the expression if(firstnumber == "zero") { number1 = 0; } else if(firstnumber == "one") { number1 = 1; } else if(firstnumber == "two") { number1 = 2; } if(secondnumber == "zero") { number2 = 0; } else if(secondnumber == "one") { number2 = 1; } else if(secondnumber == "two") { number2 = 2; } if(operation=="plus") { value = (number1 + number2); cout << "The value of the expression you entered is " << value << "." << endl; } else if(operation=="minus") { value = float(number1 - number2); if (value > 2) cout << "The expression you entered is not valid." << endl; else cout << "The value of the expression you entered is " << value << "." << endl; } else if(operation=="times") { value = float(number1 * number2); if (value > 2) cout << "The expression you entered is not valid." << endl; else cout << "The value of the expression you entered is " << value << "." << endl; } if(operation=="divide") { value = float(number1 / number2); if (value > 2) cout << "The expression you entered is not valid." << endl; else if (value == 0) cout << "Error cannot divide by zero." << endl; else cout << "The value of the expression you entered is " << value << "." << endl; } return 0; }