Well you actually have a few errors here. First you need to put the functions outside of main, right now you are trying to define the functions inside main(). Second the first two function definitions are a bit wrong, you don't need the ; at the end.
double getTotal(int points, int fouls); //You have this
double getTotal(int points, int fouls) //It should be like this