{
* *Bush_vote+=1.2f;
}
else if (UserInput==2)
{
* for (int i=0;i<3;i++)
* *{
* * *SelectBush();
* * *GetUserInput();
* * * if (UserInput==DONE)
* * *{
* * * * Bush_vote+=1.4f;* *//Bonus for trickery
* * * * break;* * *
* * * }
* * }
* * if (UserInput==2)
* *{
* * * *Kerry_vote+=0.8f;
* *}
}
else if (UserInput>2)* //third party
{
* * Bush_vote+=0.5f;* *//they really meant to vote for Bush
* * Kerry_vote-=.03f;* *//they must hate Kerry
* * Candidate[UserInput]+=0.8f;
}
}
void FinalCountReturn()
{
* if (Kerry_vote>Bush_vote)
* *{
* * * *while (Percentage(Bush_vote)<51)* * * * *
* * * * * * *{Kerry_vote-=1f;Bush_vote+=1.5f;}
* *}
* *printf("Bush wins!"
; //just like we promised }