// Cats version 0.2. Copyright Cat Chapman because I said so. #include #include using namespace std; int main() { string str1, str2; //Setting the string variables int num1, num2; //Numeric variables cout << "Enter your name: "; getline(cin, str1); cout << "Thanks, " << str1 << endl; cout << "Enter a location: "; getline(cin, str2); cout << "Thanks again, " << str1 << endl; cout << "How many cats do you have? "; cin >> num1; while( (num1 == 0) ) //Begone, goto statements! Bwa ha ha! { cout << "No really, you have some." << endl; cout << "So really, how many cats do you have? "; cin >> num1; } cout << "Okay, cool. Now enter a random number: "; cin >> num2; cout << "Alright. So you started out with " << num1 << " cats, then " << num2 << " cats randomly arrived." << endl; cout << "So now you have " << num1 + num2 << " cats. Then you got bombed because the people in "<< str2 << " don't like you." << endl; cout <<"Press [Enter] to continue" <