// cats version whatever.whatever, copywright Cat Chapman because I SAID SO #include #include using namespace std; int main() { // Let's set some variables, bitch int num1, num2; // The int variables are numbers. string str1; // And that's a string. cout << "Enter any location: "; getline(cin, str1); cout << "Okay, great!" << endl; cout << "How many cats do you have?" << endl; cin >> num1; // The dreaded ifelse statement... ugh if( num1 == 0 ) { loop: cout << "No, you do have some. Really. You do." << endl; cout << "So really, how many cats do you have?" << endl; cin >> num1; if( num1 == 0 ) goto loop; //AAAH! The infamous goto statement! else if( num1 != 0 ) goto unloop; } else if( num1 != 0 ) { unloop: cout << "Awesome. Let us continue. Enter a random number." << endl; 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 "<< str1 << " don't like you." << endl; } return 0; // Looks like someone has a bit too much time on her hands. :P }