9:19:00 PM
I Need More Random Tests!
Doing random tests makes me feel happy and random yay. But anyway I came up with an interesting c++ program.
#include iostream // no brackets cos it gets interpreted as a html tag.
using namespace std;
void ilikeyou (char);
void ihateyou (char);
int main(){
char friendname;
int annoyancelevel;
cout << "What's the person's name?" <<
cin >> friendname;
if (friendname == 'insert a few people definitely on my hate list')
ihateyou(friendname);
if (friendname == ' ')
cout << "You didn't type in a name, who're you trying to kid" <<
cin >> annoyancelevel;
if (annoyancelevel<5)
ilikeyou(friendname);
else
ihateyou(friendname);
system("PAUSE");
return 0;
}
void ilikeyou(char name)
{
cout << "I like you, " << name << " YAYYYYY! :)"
}
void ihateyou(char name)
{
cout << "For some reasons which you may not comprehend due to your apparent lack of intelligence, I hate you, " << name << " so get out of my life." << endl;
}
////////////////////////////////////
haha that was random.
but goes to show how I can express how i think some people just plain suck in a nice, friendly way. yay.


