Hi. Only being pragramming for a few weeks now, hence the questions.
For our latest assignment, we have been giving three codes to write, one of which is required to take price and VAT, and calculate the total cost. Here is the code so far:
I was just hoping someone could point me in the right direction please, as to were i am going wrong.
/* VAT Calculation*/
/* By Luke Sowersby */
/* 05/03/08 */
float vat, price;
printf("Please enter the VAT percentage:\n");
printf("Please enter the item value:\n");
float price_to_cost_conversion(price, vat)
printf("The total price is %f",price_to_cost_conversion);