This is the definition of the getData(. . .) function:
void getData(int customer, InputCost &inputs)
{
cout << "Accepting customer " << customer << endl;
cout << "Input square yards purchased: ";
cin >> inputs.sqYards;
cout << "Input cost per square yard: ";
cin >> inputs.costPerSqYard;
cout << "Input labor cost per square yard: ";
cin >> inputs.laborPerSqYard;
cout << "Input floor preparation cost: ";
cin >> inputs.floorPrep;
cout << "Input discount rate for transaction: ";
cin >> inputs.discountPercentage;
}