Page 1 of 1

Algore-ithm

Posted: Wed Nov 29, 2000 3:17 pm
by Panther
Geek humor. Get out your ANSI-C Manual! Image


> do
> {
> BushCount = 0;
> GoreCount = 0;
> for ( i = 0; i < numBallots; i++ )
> {
> if ( FloridaVote == BUSH )
> {
> BushCount++;
> }
> else if ( FloridaVote == GORE )
> {
> GoreCount++;
> }
> else
> {
> GoreCount++;
> }
> }
> } while ( GoreCount < BushCount );