IntelliSense: too few arguments in function call
<p>I am writing a program for a class that takes the amount of a sale and computes the change from a dollar. Each denomination is listed with the amount of coins as the output. I am unable to run it due to an error with too few arguments?</p>

<p>I am not sure what VB is looking for here. Any help would be appreciated.</p>

<p>Program code:</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;sstream&gt;
#include &lt;iomanip&gt;
#include &lt;cmath&gt;

using namespace std;

// Determines how many of each coin to dispense.
void Dispenser(int, int *, int *, int *, int *);                                    



int main(void)
{
    // Change the console's background color.
    system ("color F0");

        // Declares the variables.
        double amount_paid = 1.00, amount_due;                                                             
        int amount_left, dollar_qty, quarter_qty, dime_qty, nickel_qty, penny_qty; 

    // Get user input.
    cout &lt;&lt; "\n";
    cout &lt;&lt; "Enter the money amount paid: $";
        cin &gt;&gt; amount_due;
    cin.ignore();

    // Perform calculations.
    amount_paid = amount_paid * 100 + 0.5;
        amount_due = amount_due * 100;

        amount_left = amount_paid - amount_due;
        dollar_qty = amount_left / 100;

        Dispenser (amount_left + quarter_qty + dime_qty + nickel_qty + penny_qty);

        "\n";


        // Display output.
        cout &lt;&lt; "\nAmount of the purchase: " &lt;&lt; fixed &lt;&lt; setprecision(2) &lt;&lt; showpoint        &lt;&lt; amount_due;
        cout &lt;&lt; "\nChange from $1.00: " &lt;&lt; fixed &lt;&lt; setprecision(2) &lt;&lt; showpoint &lt;&lt;      amount_left;
        cout &lt;&lt; "\n" &lt;&lt; fixed &lt;&lt; setprecision(2) &lt;&lt; showpoint &lt;&lt; dollar_qty &lt;&lt; "      dollars";
        cout &lt;&lt; "\n" &lt;&lt; fixed &lt;&lt; setprecision(2) &lt;&lt; showpoint &lt;&lt; quarter_qty &lt;&lt;       "quarters";
        cout &lt;&lt; "\n" &lt;&lt; fixed &lt;&lt; setprecision(2) &lt;&lt; showpoint &lt;&lt; dime_qty &lt;&lt; "dimes";
        cout &lt;&lt; "\n" &lt;&lt; fixed &lt;&lt; setprecision(2) &lt;&lt; showpoint &lt;&lt; nickel_qty &lt;&lt;      "nickles";
        cout &lt;&lt; "\n" &lt;&lt; fixed &lt;&lt; setprecision(2) &lt;&lt; showpoint &lt;&lt; penny_qty &lt;&lt;      "pennies";

    system("pause");
        return 0;   
}

void Dispenser(int amt_left, int *quarters, int *dimes, int *nickels, int *pennies)
{
    int    total_change, total_quarters, total_dimes, total_nickels, total_pennies;

    // Determine change amount by quantity.

    total_change = amt_left % 100;
    total_quarters = total_change / 25;
    total_change = total_change % 25;
    total_dimes = total_change / 10;
    total_change = total_change % 10;
    total_nickels = total_change / 5;
    total_change = total_change % 5;
    total_pennies = total_change;

    *quarters = total_quarters;
    *dimes = total_dimes;
    *nickels = total_nickels;
    *pennies = total_pennies;
}
</code></pre>

<p>Error is on this line at the ")"</p>

<pre><code>Dispenser (amount_left + quarter_qty + dime_qty + nickel_qty + penny_qty);
</code></pre>
