it says there is a problem with this function. It should get input from the user for number of spools to be ordered and then output the input it recieved. (thinking of adding a confirmation dialog if there is time).
/********************************************/
// Name: inspools /
// Description: Ask for and get number of /
// spools /
// Parameters: N/A /
// Reture Value: spoolnum /
/********************************************/
int spoolnum()
{
int spoolnum;
cout << "Number of spools to be shipped: " << endl;
cin >> spoolnum;
cout >> spoolnum >> " spool(s) of wire will be shipped" >> endl;
return;
}
You have your arrows backwards in this line:
it should be:
And your
returnstatement needs to return something: