Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Having hard time comprehendig this

    Can someone shoe me how to do this?

    Create an application for an animal-fur trimming service. The business is open 15 weeks of the year, from April through July.

    The fee for a small animal (under 6 pounds) is $100, a medium animal (under 100 pounds) is $200, and a large animal (101 pounds and above) is $300. Write the pseudocode for the application.

    Next, write the code for the application. Prompt the user to indicate how many animals. Display the total fee for one year. Be pleasant in your output as it will be expensive. Make sure you use the scanner class as well as decision structures in your code.

    Use the following data for the runs of the information: Data set 1: 1 animal at 4 pounds 2 animals at 7 pounds each 3 trims per year Data set 2: 1 animal at 2 pounds 1 animal at 53 pounds 6 animals at 112 pounds each 4 trims per year Data set 3: 4 animals at 53 pounds each 2 animals at 207 pounds each 5 trims per year Data set 4: Your choice for poundage but must include a minimum of 6 animals total

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,910
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Please have a look at forum Rule #1.5.

    This forum is not a free coding service. As a general rule, the people helping out in this forum don't write code for others (especially code that appears to be for homework), but try to help with fixing code that doesn't work. You may perhaps get someone to write this script for you, but you'll be far more likely to get help if you have made a substantial effort and written some code yourself. Then someone here will almost certainly help you correct/improve your work.

    In any case, your assignment appears to involve Java. This is the JavaScript forum. Java and Javascript are entirely different programming languages, in spite of the confusingly similar names. Rather like Austria and Australia!

    All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • #3
    Senior Coder
    Join Date
    Apr 2011
    Location
    London, England
    Posts
    2,120
    Thanks
    15
    Thanked 354 Times in 353 Posts
    The fee for a small animal (under 6 pounds) is $100
    ? I'll do it for $50!
    "I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
    Validate your HTML and CSS


  •  

    LinkBacks (?)

    1. 06-30-2014, 06:01 AM

    Posting Permissions

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