Question #328590

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

Expert's answer

int GetUserNum() {
    std::cout << "FIXME: Finish GetUserNum()" << std::endl;
    return -1;
}


int ComputeAvg(int , int ) {
    std::cout << "FIXME: Finish ComputeAvg()" << std::endl;
    return -1;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS