Am I calling these functions correctly?
<p>Please tell me if there is any error when I am calling these functions</p>

<p><strong>1 bool discount (float price, int numberOfItemsPurchased)</strong></p>

<pre><code>bool discount
float price;
int numberOfItemPurchased;

discount = discountP (price, numberOfItemPurchased)
</code></pre>

<p><strong>2 float estimatePetrolPrice (float kms, float price, bool leaded, bool automatic)</strong></p>

<pre><code>float estimatePrice;
float kms;
float price;
bool leaded;
bool automatic;

estimatePrice = estimatePetrolPrice (kms, price, leaded, automatic)
</code></pre>

<p><strong>3 void getData (string &amp; name, string &amp; dateOfBirth, int &amp; age)</strong></p>

<pre><code>string name;
string dateOfBirth;
int age;

getData (name, dateOfBirth, age)
</code></pre>

<p><strong>4 void getVal ( int &amp; item, int &amp; inter, char decflag)</strong></p>

<pre><code>int item;
int inter;
char decflag;

getVal (item, inter, decflag)
</code></pre>
