{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Javascript Flowchart

Javascript Flowchart - is(total price.” 9 Display Output...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Eric Hammer Computer Applications for Business – Sec 22 Friday, March 4, 2011 Java Script Assignment ALGORITHM 1. Start 2. Input: The customer’s name? 3. Input: The item customer wants to purchase 4. Input: The price of the item 5. Input: The discount of the item 6. Input: How many items the customer want 7. Process: Calculate the final cost of the order with discount (cost*discount) 8. Output: (with document.write) “Thanks for eating at Eric’s Burgerland [name], come back soon! The cost of buying [#] of [item] is [price]. The discount for this purchase is (discount). With discount your total order cost
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: is (total price).” 9. Display Output 10.End FLOW CHART START INPUT: The customer’s name INPUT: The item the customer wants to purchase INPUT: The price of the item INPUT: The customer’s name INPUT: How many items customer wants to purchase PROCESS: calculate final cost with discount (cost*discount) OUTPUT: (document.write) “Thanks for eating at Eric’s Burgerland [name], come back soon! The cost of buying [#] of [item] is [price]. The discount for this purchase is [discount]. With discount your total order cost is [total price].” END...
View Full Document

{[ snackBarMessage ]}