Well done, i'm glad to see my advice helped

It's so much more rewarding to work through the problem yourself than to have someone give you the code. Just remember this for your future projects; a little effort at the planning stage will save you a lot of effort in the coding stage.
Only one small thing i would recommend; at the end you are showing the subtotal
Console.WriteLine(subtotal); , then showing the amount of the VAT
Console.WriteLine(totalcharge); but calling it the total. You should display the VAT, then add that to the total to show the total:
vat = subtotal* 0.175;
Console.WriteLine("this is the total vat added at 17.5% ",vat);
Console.WriteLine(vat);
totalcharge = subtotal* vat;
Console.WriteLine("this is the total charge with the added vat added",totalcharge);
Console.WriteLine(totalcharge);
I'm afraid you can't remove the thread, you can only mark it as solved. You can try contacting a moderator but as far as i'm aware they dont usually remove code from threads.
Reputation Points: 512
Solved Threads: 246
Nearly a Posting Virtuoso
Offline 1,260 posts
since Aug 2009