I need to have the bowl functions pass b1 and b2 into turntotal to add the two together in a different function. Here is the code, what am I doing wrong?
void bowl(){
int b1=rand()%11;
int b2=rand()%(11-(b1));
int turntotal(&b1,&b2);
}
int turntotal(int *b1, int *b2){
int bowltotal;
bowltotal=((b1)+(b2));
return(bowltotal);
}