Assignment 6 - Javascript 1 ALGORITHM

Assignment 6 - Javascript 1 ALGORITHM - 6. END START INPUT:...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Keith Spano Computer Applications For Business ALGORITHM 1. START 2. INPUT: what product/service customer wants – stored in var Product 3. INPUT: how much the product/service is – stored in var Price 4. INPUT: how much of the product/service they want – stored in var Quantity 5. PROCESS: OrderTotal = Price * Quantity; 5. OUTPUT (or can be a process): PRINT RECEIPT that says “Your order for [Quantity] number of [Product] has been received. The total is [OrderTotal]”
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 6. END START INPUT: what product/service customer wants stored in var Product INPUT: how much the product/service is stored in var Price INPUT: how much of the product/service they want stored in var Quantity OUTPUT (or can be a process): PRINT RECEIPT that says Your order for [Quantity] number of [Product] has been received. The total is [OrderTotal] END END...
View Full Document

Ask a homework question - tutors are online