944,216 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Marked Solved
  • Views: 1009
  • C# RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Nov 10th, 2009
0
Re: Need help...
ohh^^^i see forgot about the timesing of the numbers thnxs^^was so upset lol im happy now thnak you.. you knwo how to store a text file in programming?
Reputation Points: 16
Solved Threads: 0
Newbie Poster
memory100 is offline Offline
17 posts
since Nov 2009
Nov 11th, 2009
0
Re: Need help...
thank you can someoen close this thread or delete it because i have to hand this in... do ot want to penlized for forgery..
Reputation Points: 16
Solved Threads: 0
Newbie Poster
memory100 is offline Offline
17 posts
since Nov 2009
Nov 11th, 2009
0
Re: Need help...
If you want to close the thread, mark it as solved!
Reputation Points: 2035
Solved Threads: 645
Senior Poster
ddanbe is offline Offline
3,740 posts
since Oct 2008
Nov 11th, 2009
0
Re: Need help...
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:

C# Syntax (Toggle Plain Text)
  1. vat = subtotal* 0.175;
  2. Console.WriteLine("this is the total vat added at 17.5% ",vat);
  3. Console.WriteLine(vat);
  4.  
  5. totalcharge = subtotal* vat;
  6. Console.WriteLine("this is the total charge with the added vat added",totalcharge);
  7. 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
Ryshad is offline Offline
1,260 posts
since Aug 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: getting binary data out of the database
Next Thread in C# Forum Timeline: Setting more than one label to visible.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC