CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Urgent

  1. #1
    Join Date
    Oct 2012
    Posts
    2

    Urgent

    Hello i need a code for this work

    During a special sale at a store, a 10% discount is taken on purchases over $10.00. Write a program Discount.java that asks for the amount of purchases, and then calculates the discounted price. The purchase amount will be input in cents (as an integer):
    Enter amount of purchases:
    2000
    Discounted price: 1800
    Use integer arithmetic throughout the program.

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Urgent

    It was urgent yesterday, does that mean I'm too late?
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

  3. #3
    Join Date
    Oct 2012
    Posts
    2

    Re: Urgent

    Quote Originally Posted by niceman11222 View Post
    Hello i need a code for this work

    During a special sale at a store, a 10% discount is taken on purchases over $10.00. Write a program Discount.java that asks for the amount of purchases, and then calculates the discounted price. The purchase amount will be input in cents (as an integer):
    Enter amount of purchases:
    2000
    Discounted price: 1800
    Use integer arithmetic throughout the program.
    ============================================================================
    have u got the codes??? and its not late

  4. #4
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Urgent

    Didn't get your reply until today, so I guess as another 2 days have gone by it's now too late.
    This is the reason saying the problem is urgent is counter productive. All it does is make people not answer the post as they think it will be too late.

    BTW we don't supply code but will help you to write it for yourself if you show some effort.
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured