Cheers for that,
I have that working but i have now come (yet again) got another problem, n i have been trying to work it out, it is prob really simple but i now have it to output the sum with the vat added on. i now want to output the sum into a different function eg.
Code:
float calculateVAT(float cost)
{
double vatDec = 17.5/100;
double itemPrice = cost;
double vat = itemPrice * vatDec + cost;
cout<<fixed<<setprecision(2)<<vat<<endl;
}
void displayOrder(char initials[], char surname[], char address[],
char postcode[], int numberOfBottles, float cost,
float costPlusVAT, float deliveryCharge,float totalCost, int vat)
{
cout <<"Cost Including VAT: " <<POUND<<vat <<endl;
}
anyone know what i can do to solve this new problem??
Thanks