Project #14585 - Need help with homework

Assignment 3

You are asked write a computer program for fruit stand.  This fruit stand only sells  water melons, cantaloupes and honeydew melons.  All water melons are $5 a piece, all cantaloupes are $8 a piece and All honeydew melons are $10 a piece (these are really some great honeydews!).  The price doesn't change no matter how large or small the melon is.    If the total mellons sold is great than 10 then they get a 10% discount if not, they get a 0 discount.   At the end of each order they want to see how many of each melon was purchased, the total number of melons purchased, subtotal amount (cash amount of order before discount), discount, and the order total

Example 1: 
10 water melons, 10 cantaloupes, and  10 honeydew melons.
output:
10 Water melons
10 cantaloupes
10 honeydew melons 
Total melons:  30 
subtotal amount:  $230
discount:  $23.00
order total:  $207.00
Example 2:
1 water melons, 1 cantaloupes, and  0 honeydew melons.
output:
1 Water melons
1 cantaloupes
0 honeydew melons 
Total melons:  2 
subtotal amount:  $13
discount:  $0
order total:  $13

You must do four things with the problem:

You need to do the first two steps below using notepad (Start, Programs, Accessories, Notepad). 

Steps:
1.  Develop a problem statement:
    a.  Assumptions
    b.  Input
    c.  Calculations (Make your calculations as simple as possible, complex math (trying to do the total amount in one equation) is impossible to debug and maintain)
    d.  Output

2.  Write a human algorithm (step by step process for solving this problem.  Remember you must make each step simple, don't try and combine steps, break everything down to it's simplest form.

3.  Flow Chart:  Use visual logic.  You need to use it in "demo" mode.   When you are done with the flowchart you need to create a picture of your flowchart.  Click on view, create metafile.  That will allow you to save a file with .emf extension which is a picture of your flowchart.  Upload that file to the dropbox.

4.  Create the JavaScript that will solve this problem.   You should use html kit (see the lesson "Where to code").  Be sure to save the file with the .htm extension.  DO NOT Use notepad for your code, use html kit instead.   Do not include your code in the notepad file with your problem statement and human algorithm.  It must be a separate .htm file.

 

 

 

Assignment 5 Automotive Junk Yard problem

You have been tasked with writing a program for a automotive junk yard.  They want to encourage their customers to make large purchases ($1000 or more) and to place their order online.  To do this they have set up a discount system for their customers to use.   If a customer orders online they get a 5 percent discount.  If the customer orders online and the order is $1000 or more they get an additional 10 percent off their order (total of 15%).  If their customer does not order online the only discount they provide is a 5 percent discount for orders that are $1000 or more.  Sales tax is 8 percent.  They want to be able to see the initial amount of the order, the the amount of online discount, the amount of 1000 and over discount, total amount of discounts, the subtotal (initial order minus the discount), the amount of sales tax and the grand total.  Warning:   When a future coder must change your code and they are looking for a specific number to change (ie online order discount increases to 10%) be sure to assign constant values at the start of your program

Test Data (2 different examples and their outcomes) use these values to test your code:

$1000 dollar order made online:

Order amount: $1000.00
Online Order Discount: $50.00
Over1000 Discount: $100.00
total Discount: $150.00
Subtotal: $850.00
Tax: $68.00
Total: $918.00

$500 dollar order not ordered online:

Order amount: $500.00
Online order Discount: $0.00
Over 1000 Discount: $0.00
total Discount: $0.00
Subtotal: $500.00
Tax: $40.00
Total: $540.00

 

You must do four things with the problem:

1.  Develop a problem statement (using notepad):
    a.  Assumptions
    b.  Input
    c.  Calculations
    d.  Output

2.  Write a human algorithm (step by step process for solving this problem) using notepad.  Remember you must make each step simple, don't try and combine steps, break everything down to it's simplest form.

3.  Flow Chart using visual logic. I want you to upload the emf file.  You can create a picture of it (Click on view, create metafile) and upload that .emf file.

 

4.  Create the JavaScript Script that will solve this problem using html kit .

 

 

  

 

You need to write a program for a wedding planner. They wish to create a gift registry for each couple. They want the gifts broken down by the whether the gift giver is on the bride side or groom side. They also know that common gifts (toasters, silverware, and stemware) tend to be repeated so they want those gifts listed and have the name of the gift giver under them. The following is an example of the output they wish.  The following output was created using the following input:  Tom, Groom side, Toaster; Bill, Groom side, silverware; Bob, Groom side, stemware; Steve, Groom side, Lexus; Jill, Bride side, toaster; Suzy, Bride side, silverware; Pat, Bride side, stemware; Karen, Bride side, horse.

Groom side: 
1. Tom: toaster
2. Bill: silverware
3. Bob: stemware
4. Steve: Lexus

Bride side: 
1. Jill: toaster
2. Suzy: silverware
3. Pat: stemware
4. Karen: horse

Multiple toasters by: 
Tom
Jill

Multiple silverware by: 
Bill
Suzy

Multiple stemware by: 
Bob
Pat
 

Subject Computer
Due By (Pacific Time) 10/14/2013 08:00 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy