Best of Jokes Current Jokes RHF Home Search Sponsor RHF?
Fun Stuff & Jokes
Previous | RHF Joke Archives | Next

The Algore-ithmic recount procedure

claude.w.anderson@rose-hulman.edu (Claude Anderson)
(topical, smirk, computers, original)

candidate winner(ballot Florida_vote [], int numBallots) 
<-- UnknownF > 
  do <-- UnknownF >       // a recount 

int BushCount = GoreCount = 0;

for (int i=0; i < numBallots; i++) <-- UnknownF > if (Florida_vote[i] == "Bush") BushCount++; else (if Florida_vote[i] == "Gore") GoreCount++; else // This voter REALLY meant to vote for Al! GoreCount++; -->

BushCount += rand() % fudgeFactor; GoreCount += rand() % smallerFactor; // let's look generous here!

--> while (BushCount >= GoreCount);

if (BushCount > GoreCount) // It won't be, but we figure by then the // voters will be too tired of the process // to notice that this test is bogus. return Bush; // to Texas! else return Gore; // to the White House! -->

// Claude Anderson


Previous | RHF Joke Archives | Next

Best of Jokes | Current Jokes | RHF Home | Search