View Single Post
Kaz

JCF Member

Joined: Mar 2001

Posts: 3,793

Kaz has disabled reputation

Jul 11, 2003, 02:38 PM
Kaz is offline
weee.


int rate(Random, Good, Bad, Mood, Respect)
{
While(Radium=TheSux && Respect!=0)
{Respect--;}
int overall = ((random+mood)/2 + good - bad)/Respect;
return overall;
}



apstring chapter[20];
apstring rating;
int GoodMagni(rand()%10+1);
int Bad Magni(rand()%10+1);
int Mood(rand());
int Respect4Radium(5);

while(! TheEnd() &&! OldChapterChk())
{
rating = rate(rand(),GoodMagni,BadMagni,Mood,Respect4Radium );
Cout << Compliments[rating];
}

Been quite a while since I've programmed, only 39084329809423 syntax errors. In them was a divide by zero locked in there ;D
__________________
"We're like a human in a 13 billion lightyear universe." -Anaiyu