# Project #74834 - Programming

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.00Online Order Discount: \$50.00Over1000 Discount: \$100.00total Discount: \$150.00Subtotal: \$850.00Tax: \$68.00Total: \$918.00 \$500 dollar order not ordered online: Order amount: \$500.00Online order Discount: \$0.00Over 1000 Discount: \$0.00total Discount: \$0.00Subtotal: \$500.00Tax: \$40.00Total: \$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 .

 Subject Computer Due By (Pacific Time) 06/26/2015 12:00 am
TutorRating
pallavi

Chat Now!

out of 1971 reviews
amosmm

Chat Now!

out of 766 reviews
PhyzKyd

Chat Now!

out of 1164 reviews
rajdeep77

Chat Now!

out of 721 reviews
sctys

Chat Now!

out of 1600 reviews

Chat Now!

out of 770 reviews
topnotcher

Chat Now!

out of 766 reviews
XXXIAO

Chat Now!

out of 680 reviews