Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-03-2013, 05:46 AM   PM User | #1
Napoleonesco
New to the CF scene

 
Join Date: Feb 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Napoleonesco is an unknown quantity at this point
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
Napoleonesco is offline   Reply With Quote
Old 02-03-2013, 09:16 AM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
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.
Philip M is offline   Reply With Quote
Old 02-03-2013, 04:12 PM   PM User | #3
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Quote:
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
AndrewGSW is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:53 AM.


Advertisement
Log in to turn off these ads.