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.
anyone know what i can do to solve this new problem??
float calculateVAT(float cost)
double vatDec = 17.5/100;
double itemPrice = cost;
double vat = itemPrice * vatDec + cost;
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;