lines 201 through 241 run regardless of what the result was, that's why all three messages come up. Seems like you might want to tie those in to the if/else structure you have on lines 194-199.
switch (WhoWon)
{
case'p':
msgWIN=rand()%5;
if(msgWIN==0)
cout <<"Congradulations you won against the computer! "<<endl;
elseif (msgWIN==1)
cout <<"OMG you just won, hip hip hurrayyyyyyyyyyy! "<<endl;
elseif (msgWIN==2)
cout <<" Winner Winner Winner!"<<endl;
elseif (msgWIN==3)
cout << "You win!"<<endl;
elseif (msgWIN==4)
cout <<"You just won against Sheldon Cooper!"<<endl;
break;
}
thanks for all of you feedback!!!! it was very helpful
however I have another question, when the user enters help when prompted to do so, the help instructions show up but immediately right after an error/abort message pops up!