Thursday, October 15, 2009
Unprogrammable Love Program
#include<iostream>
using std::cout;
using std::endl;
using std::cin;
int main()
{
char girl, her;
cout << "A grown-up little cute girl" << endl;
cout << "Type in your girl's name: ";
cin >> girl;
cout << "Describe her: ";
cin >> her;
switch (her)
{
case 'cute': //if she is a cute girl
cout << "She is my lovely girl";
break;
case 'naughty': //if she is a naughty girl
cout << "She isn't mine";
break;
case 'wild': //if she is uncontrollably wild
cout << "She doesn't belong to me";
break;
case 'mature': //if she is mature enough
cout << "That's what I love from her";
break;
case 'artsy': //if she is into arts
cout << "She definetely is the right person";
break;
case 'cheerful': //if she is full of cherish
cout << "I couldn't agree more that she belongs to me";
break;
case 'mentally disorder': //if she has trouble with mentality
cout << "Do I deserve someone better?";
break;
default: //catch all other description
cout << "Unacceptable description."
<< "Re-type again: " << endl;
break;
}
if (her == 'cute' || ' mature' || 'cheerful' || 'artsy')
{
cout << "I ♥ her";
<< "She must be Stephanie Harris"
<< "an equation has found: 1/~ = wisd + L ♥ ♥ ♥ "endl;
}
else
{
cout << "I have no idea who she is"
<< "Let just forget her." << endl;
}
return 0; //Program Terminated Successfully
}
Subscribe to:
Post Comments (Atom)
wow, william.... instead of becoming an engineer, i think u can become a good programmer also. u commented your codes, haha.... very good habit :D
ReplyDeletesincerely, lixin
hahahhaha.. lixin, its just an random program,, haha.. was in the midst of tension of C++,, so, i poured my tension to this blog.. heheh... thx anyway.. hehe..
ReplyDelete