Define stubs for the functions called by the below main(). Each stub should print "FIXME: Finish FunctionName()" followed by a newline, and should return -1. Example output:
FIXME: Finish GetUserNum()
FIXME: Finish GetUserNum()
FIXME: Finish ComputeAvg()
Avg: -1
int GetUserNum() {
std::cout << "FIXME: Finish GetUserNum()" << std::endl;
return -1;
}
int ComputeAvg(int , int ) {
std::cout << "FIXME: Finish ComputeAvg()" << std::endl;
return -1;
}
Comments
Leave a comment