this is my function...
int showScores(int player, int computer, int tie) {
return ( cout << "User: " << player << endl
<< "Computer: " << computer << endl
<< "Ties: " << tie << endl;);
}
I get these error messages
hw3b.cc: In function 'int showScores(int, int, int)':
hw3b.cc: error: expected `)' before ';' token
hw3b.cc: error: invalid conversion from 'void*' to 'int'
hw3b.cc: error: expected primary-expression before ')' token
hw3b.cc: error: expected `;' before ')' token
Could anyone please tell me why I am getting these errors? I have been trying to figure this out for awhile to no avail.