0

i get this error and idk know y anyone know wat i gotta fix

int main ()
{
    int total_score, print_score, action, whose_turn, go_again;
    cout << "Race to 100 " << endl;
    total_score = score_num(int &ns1,int &ns2,int &ns3, int &ns4, int &ns5, int &n6, char gam_answ);
    print_score= display_score(int curr_score);
    action= roll_hold(int& answer);
    whose_turn= turn_it_is(int player1, int player2);
    go_again=play_again( char letter);

 return 0;
}
3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by Nick Evan
0

i get this error and idk know y anyone know wat i gotta fix

|error: expected primary-expression before "int"|
error: expected primary-expression before "char"|

int main ()
{
    int total_score, print_score, action, whose_turn, go_again;
    cout << "Race to 100 " << endl;
    total_score = score_num(int &ns1,int &ns2,int &ns3, int &ns4, int &ns5, int &n6, char gam_answ);
    print_score= display_score(int curr_score);
    action= roll_hold(int& answer);
    whose_turn= turn_it_is(int player1, int player2);
    go_again=play_again( char letter);

 return 0;
}
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.