| | |
Need help...
Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved |
0
#14 21 Days Ago
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
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.
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: C# Syntax (Toggle Plain Text)
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.
Please don't take for granted the work that solvers do for you. Take the time to fully understand the code they give you so that you might adapt it to future problems.
"Learning is more than absorbing facts, it is acquiring understanding.” - William Arthur Ward
"Learning is more than absorbing facts, it is acquiring understanding.” - William Arthur Ward
![]() |
Other Threads in the C# Forum
- Previous Thread: Using Xml.Linq and writing the schemaLocation
- Next Thread: Setting more than one label to visible.
| Thread Tools | Search this Thread |
.net 2008 access ado.net advice analyst array asp asp.net avltree basic broadcast c# combobox commerce concurrency connect connection console contorl control cs4 data database datagrid datagridview datetime dba degrees developer development disabled drawing ecommerce editor enabled enum error eventhandlers excel file foreach forloop form formatting formbox forms gdi+ http httpwebrequest index linux list listbox login mailmerge marshalbyrefobject math mono mysql oracle photoshop platform pointer post print programmer programming read remote remoting resource resourcefile richtextbox robot server silverlight sql sql-server stringformatting tcpclientchannel text textbox treeview uploadatextfile user validate validation video visual-studio visualbasic webbrowser webdevelopemnt whileloop wia winforms wordautomation working wpf xml







